Skip to content

Commit

Permalink
show up as addeds before handling mods
Browse files Browse the repository at this point in the history
  • Loading branch information
djeebus committed Dec 15, 2023
1 parent 01ba8d6 commit ca995da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/diff/diff.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,12 +147,12 @@ func GetDiff(ctx context.Context, name string, manifests []string) (pkg.CheckRes
return pkg.CheckResult{}, "", err
}
switch {
case diffRes.Modified:
modified++
case item.target == nil:
removed++
case item.live == nil:
added++
case diffRes.Modified:
modified++
}
}
}
Expand Down

0 comments on commit ca995da

Please sign in to comment.