commit bfc05da3bcab86653812d7011b6afde893d64bd5 parent 77182c9b88c10dd4f03223c62f80c2a8af352d92 Author: Hugo Soucy <hugo@soucy.cc> Date: Sat, 11 Aug 2018 10:53:20 -0400 Remove tests Diffstat:
M | ferron/utilities/file-utils.lua | | | 6 | +----- |
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/ferron/utilities/file-utils.lua b/ferron/utilities/file-utils.lua @@ -70,11 +70,7 @@ function fileutils.pushfilecontent(pathtofile, data) file:close() end -function fileutils.getrelpath(file) - print(file) - print(Ferron.site.path .. Ferron.site.siteconfig.paths.content) - print(file:sub((Ferron.site.path .. Ferron.site.siteconfig.paths.content):len() + 1)) - os.exit('1') +function fileutils.getrelpath(file) return file:sub((Ferron.site.path .. Ferron.site.siteconfig.paths.content):len() + 1) end