Skip to content

Commit f04ae47

Browse files
committed
fix moonc -
1 parent ca9ccfe commit f04ae47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/moonc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ if not read_stdin then
2626
parser:argument("file/directory"):args("+")
2727
end
2828

29-
local opts = parser:parse()
29+
local opts = read_stdin and {} or parser:parse()
3030

3131
if opts.version then
3232
local v = require "moonscript.version"

0 commit comments

Comments
 (0)