mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-11 22:46:27 +00:00
fix: parse/stringify lockfile error messages (#622)
This commit is contained in:
parent
a1e1b1770f
commit
6d688412b4
1 changed files with 4 additions and 4 deletions
|
@ -34,10 +34,10 @@ async function generateLockFile(newPackageJson, npmrcContent, logger) {
|
||||||
logger.warn(
|
logger.warn(
|
||||||
{
|
{
|
||||||
err,
|
err,
|
||||||
newPackageJson,
|
packageJson: JSON.parse(newPackageJson),
|
||||||
npmrcContent,
|
npmrc: npmrcContent,
|
||||||
stdout: result.stdout,
|
stdout: String(result.stdout),
|
||||||
stderr: result.stderr,
|
stderr: String(result.stderr),
|
||||||
},
|
},
|
||||||
'Error generating package-lock.json'
|
'Error generating package-lock.json'
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue