fix filename globbing

This commit is contained in:
leaf corcoran 2013-01-13 23:38:38 -08:00
parent f9a2c1b2d7
commit a44c5ac27f

View File

@ -178,7 +178,7 @@ function scan_directory(root, collected)
scan_directory(full_path, collected)
end
if fname:match(".moon") then
if fname:match("%.moon$") then
table.insert(collected, full_path)
end
end