mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-12 06:56:24 +00:00
fix: handle base branch error gracefully
This commit is contained in:
parent
4104ba04e3
commit
55a73b931a
1 changed files with 2 additions and 1 deletions
|
@ -277,7 +277,8 @@ export class Storage {
|
||||||
if (
|
if (
|
||||||
err.message.includes(
|
err.message.includes(
|
||||||
'unknown revision or path not in the working tree'
|
'unknown revision or path not in the working tree'
|
||||||
)
|
) ||
|
||||||
|
err.message.includes('did not match any file(s) known to git')
|
||||||
) {
|
) {
|
||||||
throwBaseBranchValidationError(branchName);
|
throwBaseBranchValidationError(branchName);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue