Skip to content

Commit 7538419

Browse files
committed
fix
1 parent 4ed3b03 commit 7538419

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/locale.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ local function loadLocaleFile(filePath)
2222
end
2323
goto CONTINUE
2424
end
25-
local comment = line:match '%-%- TODO.+$'
25+
local comment = line:match '%s*%-%- TODO.+$'
2626
if comment then
2727
line = line:sub(1, - #comment - 1)
2828
end

0 commit comments

Comments
 (0)