fix: handle base branch error gracefully

This commit is contained in:
Rhys Arkins 2020-04-16 07:06:15 +02:00
parent 4104ba04e3
commit 55a73b931a

View file

@ -277,7 +277,8 @@ export class Storage {
if (
err.message.includes(
'unknown revision or path not in the working tree'
)
) ||
err.message.includes('did not match any file(s) known to git')
) {
throwBaseBranchValidationError(branchName);
}