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