We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df23ee0 commit cac06f7Copy full SHA for cac06f7
internal/api/breaking_check.go
@@ -95,7 +95,7 @@ func (b BreakingCheck) action(ctx *cli.Context) error {
95
96
path := ctx.String(flagLintDirectoryPath.Name)
97
against := ctx.String(flagAgainstBranchName.Name)
98
- if against != "" {
+ if cfg.BreakingCheck.AgainstGitRef == "" {
99
cfg.BreakingCheck.AgainstGitRef = against
100
}
101
0 commit comments