aboutsummaryrefslogtreecommitdiff
path: root/nomsu.moon
diff options
context:
space:
mode:
authorBruce Hill <bitbucket@bruce-hill.com>2018-05-24 15:36:02 -0700
committerBruce Hill <bitbucket@bruce-hill.com>2018-05-24 15:36:10 -0700
commit5758626bf7ac1789a2ef871b7683b23084c3dbb7 (patch)
tree1302679fec0c75e2bf083e14bf0161ddd72bc4ef /nomsu.moon
parentba76a35e84d384673f4633d59003df91ce6a2d79 (diff)
Cleaned up string quotes
Diffstat (limited to 'nomsu.moon')
-rwxr-xr-xnomsu.moon2
1 files changed, 1 insertions, 1 deletions
diff --git a/nomsu.moon b/nomsu.moon
index 52c8af0..f7fc601 100755
--- a/nomsu.moon
+++ b/nomsu.moon
@@ -77,7 +77,7 @@ all_files = (path)->
return iterate_single, path
-- TODO: improve sanitization
path = path\gsub("\\","\\\\")\gsub("`","")\gsub('"','\\"')\gsub("$","")
- return io.popen("find -L \""..path.."\" -type f -name \"*.nom\"")\lines!
+ return io.popen('find -L "'..path..'" -type f -name "*.nom"')\lines!
line_counter = re.compile([[
lines <- {| line (%nl line)* |}