mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-04 04:22:50 +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
|
||||
if (typeof scriptToCheck === 'undefined' || commander.replace) {
|
||||
packageJson.scripts[scriptName] = SCRIPTS[scriptName].replace('\n', '\\n');
|
||||
packageJson.scripts[scriptName] = SCRIPTS[scriptName];
|
||||
|
||||
packageJsonChanged = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user