fix: shebang insertion broke escaped characters
This commit is contained in:
@@ -155,9 +155,6 @@ async function doCompile() {
|
||||
doCompile().then(scriptMeta => {
|
||||
if (exports.CLIArgs.readme)
|
||||
(0, readmefile_1.updateReadmeFile)(scriptMeta);
|
||||
console.log(`
|
||||
Finished Compiling
|
||||
${exports.CLIArgs.watch ? 'Listening for Changes
|
||||
' : ''}`);
|
||||
console.log(`\nFinished Compiling\n${exports.CLIArgs.watch ? 'Listening for Changes\n' : ''}`);
|
||||
});
|
||||
//# sourceMappingURL=main.js.map
|
||||
//# sourceMappingURL=main.js.map
|
||||
@@ -9,7 +9,7 @@
|
||||
},
|
||||
"scripts": {
|
||||
"prettier": "prettier --write .",
|
||||
"build": "npm run prettier && tsc && echo \"#!/usr/bin/env node\n$(cat lib/main.js)\" > lib/main.js",
|
||||
"build": "npm run prettier && tsc && printf \"%s\\n%s\" '#!/usr/bin/env node' \"$(cat lib/main.js)\" > lib/main.js",
|
||||
"test": "node ./test/test.mjs"
|
||||
},
|
||||
"repository": {
|
||||
|
||||
Reference in New Issue
Block a user