aboutsummaryrefslogtreecommitdiff
path: root/nomsu.moon
diff options
context:
space:
mode:
authorBruce Hill <bitbucket@bruce-hill.com>2017-11-01 20:11:44 -0700
committerBruce Hill <bitbucket@bruce-hill.com>2017-11-01 20:11:44 -0700
commit8c0816995afaaf34cbfe903e6da68d8b6d8e8c39 (patch)
tree2d57c275f42facba3163ef665e386c8fcf67f646 /nomsu.moon
parent3ae1f696aa86665b3b41f30a677944d12d29f025 (diff)
Added empty string check.
Diffstat (limited to 'nomsu.moon')
-rwxr-xr-xnomsu.moon1
1 files changed, 1 insertions, 0 deletions
diff --git a/nomsu.moon b/nomsu.moon
index e57954d..899b1fc 100755
--- a/nomsu.moon
+++ b/nomsu.moon
@@ -323,6 +323,7 @@ class NomsuCompiler
return tree
run: (src, filename, vars={}, max_operations=nil)=>
+ if src == "" then return nil, "", vars
if max_operations
timeout = ->
debug.sethook!