Skip to content

Commit

Permalink
feat: add --check flag to the update command
Browse files Browse the repository at this point in the history
Signed-off-by: hanshal101 <[email protected]>
  • Loading branch information
hanshal101 authored and hanshal101 committed Jul 3, 2024
1 parent 6c04847 commit 3b32477
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/update/update.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ func ComparePackages(a, b []string) bool {
counts[item] = true
}
for _, item := range b {
if counts[item] {
if !counts[item] {
return false
}
}
Expand Down

0 comments on commit 3b32477

Please sign in to comment.