-
- Downloads
feat: raise pr with warning if lock file generation fails (#994)
Previously, upgrades with failing lock files were not raised as PRs. Usually this is because of missing private module configuration. Now, Renovate will raise a PR but add a comment warning of the error, with the error log. It's raised as a comment because we now won't need to regenerate the lock file error every run, and we don't want to "lose" it if the PR description gets updated. Closes #600
Showing
- lib/workers/branch/index.js 35 additions, 6 deletionslib/workers/branch/index.js
- lib/workers/branch/lock-files.js 59 additions, 58 deletionslib/workers/branch/lock-files.js
- lib/workers/branch/npm.js 2 additions, 1 deletionlib/workers/branch/npm.js
- lib/workers/branch/yarn.js 3 additions, 2 deletionslib/workers/branch/yarn.js
- test/workers/branch/__snapshots__/lock-files.spec.js.snap 16 additions, 21 deletionstest/workers/branch/__snapshots__/lock-files.spec.js.snap
- test/workers/branch/index.spec.js 43 additions, 1 deletiontest/workers/branch/index.spec.js
- test/workers/branch/lock-files.spec.js 13 additions, 41 deletionstest/workers/branch/lock-files.spec.js
- test/workers/branch/npm.spec.js 12 additions, 10 deletionstest/workers/branch/npm.spec.js
- test/workers/branch/yarn.spec.js 11 additions, 10 deletionstest/workers/branch/yarn.spec.js
Loading
Please register or sign in to comment