mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-10 03:32:52 +00:00
fix: do not escape newlines in scripts
This commit is contained in:
@@ -194,7 +194,7 @@ Object.keys(SCRIPTS).forEach((scriptName) => {
|
|||||||
|
|
||||||
// check if script exists
|
// check if script exists
|
||||||
if (typeof scriptToCheck === 'undefined' || commander.replace) {
|
if (typeof scriptToCheck === 'undefined' || commander.replace) {
|
||||||
packageJson.scripts[scriptName] = SCRIPTS[scriptName].replace('\n', '\\n');
|
packageJson.scripts[scriptName] = SCRIPTS[scriptName];
|
||||||
|
|
||||||
packageJsonChanged = true;
|
packageJsonChanged = true;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user