From d13a945b5f8924c1416ea2bd72212efdb3bebc20 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sat, 28 Apr 2018 15:25:12 -0700 Subject: Removed LFS dependency in favor of just using `find` --- nomsu.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nomsu.lua') diff --git a/nomsu.lua b/nomsu.lua index 242d7a6..a8a68e3 100644 --- a/nomsu.lua +++ b/nomsu.lua @@ -40,7 +40,7 @@ FILE_CACHE = setmetatable({ }, { if not (file) then return nil end - local contents = file:read("a"):sub(1, -1) + local contents = file:read("a") file:close() self[filename] = contents return contents -- cgit v1.2.3