@heroku-cli/config-edit
Advanced tools
Comparing version 1.0.5 to 1.0.6
@@ -33,3 +33,3 @@ "use strict"; | ||
function quote(a) { | ||
a = a.replace('\n', '\\n'); | ||
a = a.replace(/\n/g, '\\n'); | ||
if (a.match(/[:@]/)) | ||
@@ -43,3 +43,3 @@ return shell.quote([`'${a}`]).replace(/^"'/, '"'); | ||
throw new Error(`Invalid token: ${a}`); | ||
return parsed[0].replace('\\\\n', '\n'); | ||
return parsed[0].replace(/\\\\n/g, '\n'); | ||
} | ||
@@ -46,0 +46,0 @@ function allKeys(a, b) { |
{ | ||
"name": "@heroku-cli/config-edit", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"cli-engine": { | ||
@@ -5,0 +5,0 @@ "commands": "./lib/commands", |
5989