aboutsummaryrefslogtreecommitdiff
path: root/files.moon
diff options
context:
space:
mode:
authorBruce Hill <bitbucket@bruce-hill.com>2018-07-19 20:41:31 -0700
committerBruce Hill <bitbucket@bruce-hill.com>2018-07-19 20:42:09 -0700
commit47db74229deaf281ad02c8305c4e4d4c8dbd3d7d (patch)
treefac39ef65240c3de58b68a4f59bb93f2d4e622c6 /files.moon
parent0eff1c77f250e6839086f41af0c79bb3e2e8ea39 (diff)
Fixed some bugs in trailing_line_len() and refactored tree_to_nomsu into
separate inline/not-inline functions.
Diffstat (limited to 'files.moon')
-rw-r--r--files.moon1
1 files changed, 1 insertions, 0 deletions
diff --git a/files.moon b/files.moon
index 6f06c8c..ad1956b 100644
--- a/files.moon
+++ b/files.moon
@@ -98,6 +98,7 @@ files.walk = (path, flush_cache=false)->
for nomsupath in package.nomsupath\gmatch("[^;]+")
if _files = browse(nomsupath.."/"..path) then break
iter = (_files, i)->
+ return unless _files
i += 1
if f = _files[i]
return i, f