Skip to content

Commit d943100

Browse files
committed
fix: skip commented keys
1 parent 1e4c1a1 commit d943100

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/lang.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ async function bundle(files = []) {
4444

4545
Object.entries(await readJSON(file)).forEach(
4646
([key, value]) => {
47+
if (key.startsWith('//')) return;
4748
assign(ret, lang, `underscript.${name}.${key}`, value);
4849
},
4950
);

0 commit comments

Comments
 (0)