Skip to content

Commit 5f438f9

Browse files
committed
add newline in generated file
1 parent a51c06c commit 5f438f9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/uni-regexp.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

scripts/build-regexpu.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@ var targetFile = path.join(__dirname, "../lib/uni-regexp.js");
2121

2222
fs.writeFileSync(
2323
targetFile,
24-
"/* AUTO GENERATED */\nmodule.exports = " + JSON.stringify(uniReg, null, 4)
24+
"/* AUTO GENERATED */\nmodule.exports = " + JSON.stringify(uniReg, null, 4) + '\n'
2525
);
2626
console.log('Done building ' + targetFile)

0 commit comments

Comments
 (0)