Fix some typos in the branch checks

This commit is contained in:
Josh Dales
2023-02-19 12:17:15 -05:00
parent 0eb9d49330
commit 09f085373a
4 changed files with 15 additions and 15 deletions

View File

@@ -9,7 +9,7 @@ export interface BranchMatchConfig {
type BranchBase = 'base' | 'head';
export function toBranchMatchConfig(config: any): BranchMatchConfig {
if (!config['head-branch'] || config['base-branch']) {
if (!config['head-branch'] && !config['base-branch']) {
return {};
}