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(
|
||||
{
|
||||
err,
|
||||
newPackageJson,
|
||||
npmrcContent,
|
||||
stdout: result.stdout,
|
||||
stderr: result.stderr,
|
||||
packageJson: JSON.parse(newPackageJson),
|
||||
npmrc: npmrcContent,
|
||||
stdout: String(result.stdout),
|
||||
stderr: String(result.stderr),
|
||||
},
|
||||
'Error generating package-lock.json'
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue