diff options
| author | Bruce Hill <bitbucket@bruce-hill.com> | 2018-06-24 18:39:17 -0700 |
|---|---|---|
| committer | Bruce Hill <bitbucket@bruce-hill.com> | 2018-06-24 18:39:34 -0700 |
| commit | b09db8f7dfafb39f418b325c2d276c9dc22e36a9 (patch) | |
| tree | 2ef361c205ce5e57f9b6ad3bfe681c69da504343 /files.moon | |
| parent | e5d63ad945bece3e1ee271add61a857c30442fe8 (diff) | |
Cleaning up non LFS codepath for files and README
Diffstat (limited to 'files.moon')
| -rw-r--r-- | files.moon | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -53,8 +53,7 @@ if ok break if browse(nomsupath.."/"..path) return nil else - ret = os.execute('find . -maxdepth 0') - unless ret == true or ret == 0 + if io.popen('find . -maxdepth 0')\close! 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 files.walk = (path)-> |
