Skip to content

Commit a44c5ac

Browse files
committed
fix filename globbing
1 parent f9a2c1b commit a44c5ac

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
@@ -178,7 +178,7 @@ function scan_directory(root, collected)
178178
scan_directory(full_path, collected)
179179
end
180180

181-
if fname:match(".moon") then
181+
if fname:match("%.moon$") then
182182
table.insert(collected, full_path)
183183
end
184184
end

0 commit comments

Comments
 (0)