Skip to content

Commit

Permalink
[fix] count of imports when all option is enabled (#113)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristofferNissen authored Oct 10, 2024
1 parent aac9d4b commit 3cebffe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/output/table.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,11 +133,11 @@ func getImportTableRow(_ context.Context, viper *viper.Viper, c helm.Chart, imag

ic := state.GetValue[bootstrap.ImportConfigSection](viper, "importConfig")
if ic.Import.Enabled {
b := !m[key]
b := state.GetValue[bool](viper, "all") || !m[key]
if b {
sc.Inc(key)
}
row = append(row, terminal.StatusEmoji(state.GetValue[bool](viper, "all") || b))
row = append(row, terminal.StatusEmoji(b))
}
}

Expand Down

0 comments on commit 3cebffe

Please sign in to comment.