Skip to content

Commit

Permalink
fix: logic bug in autoplan commit reset
Browse files Browse the repository at this point in the history
  • Loading branch information
GenPage committed Apr 7, 2021
1 parent cb90f72 commit ac3c62d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/events/plan_command_runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ func (p *PlanCommandRunner) runAutoplan(ctx *CommandContext) {

if len(projectCmds) == 0 {
ctx.Log.Info("determined there was no project to run plan in")
if !p.silenceVCSStatusNoPlans || !p.silenceVCSStatusNoProjects {
if !(p.silenceVCSStatusNoPlans || p.silenceVCSStatusNoProjects) {
// If there were no projects modified, we set successful commit statuses
// with 0/0 projects planned/policy_checked/applied successfully because some users require
// the Atlantis status to be passing for all pull requests.
Expand Down

0 comments on commit ac3c62d

Please sign in to comment.