From bf224aacf2be9fc316fc08fdfc17a5bab0530767 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Tue, 24 Jul 2018 17:17:03 -0700 Subject: Updated luafilesystem urls to point to both JIT and non-JIT versions. --- files.moon | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'files.moon') diff --git a/files.moon b/files.moon index d62a030..ceb24e8 100644 --- a/files.moon +++ b/files.moon @@ -92,7 +92,10 @@ if ok return _BROWSE_CACHE[filename] else unless run_cmd('find . -maxdepth 0') - error "Could not find 'luafilesystem' module and couldn't run system command `find` (this might happen on Windows). Please install `luafilesystem` (which can be found at: http://keplerproject.github.io/luafilesystem/ or `luarocks install luafilesystem`)", 0 + url = if jit + 'https://github.com/spacewander/luafilesystem' + else 'https://github.com/keplerproject/luafilesystem' + error "Could not find 'luafilesystem' module and couldn't run system command `find` (this might happen on Windows). Please install `luafilesystem` (which can be found at: #{url} or `luarocks install luafilesystem`)", 0 Files.walk = (path, flush_cache=false)-> if flush_cache -- cgit v1.2.3