From 47db74229deaf281ad02c8305c4e4d4c8dbd3d7d Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Thu, 19 Jul 2018 20:41:31 -0700 Subject: Fixed some bugs in trailing_line_len() and refactored tree_to_nomsu into separate inline/not-inline functions. --- files.moon | 1 + 1 file changed, 1 insertion(+) (limited to 'files.moon') 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 -- cgit v1.2.3