Skip to content

Commit

Permalink
fix update all incorrecly using the half-implemented fast path
Browse files Browse the repository at this point in the history
  • Loading branch information
Bios-Marcel committed Apr 11, 2024
1 parent a913d81 commit 152fc82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/spoon/update.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ func updateCmd() *cobra.Command {
// We do this natively, as it's much faster and a rather easy task.
// However, we haven't implemented install yet, therefore we can't
// handle the actual updating of apps.
if len(args) > 0 {
if len(args) > 0 || must(cmd.Flags().GetBool("all")) {
flags, err := getFlags(cmd, "force", "global", "indepdendent", "no-cache", "skip", "quiet", "all")
if err != nil {
return fmt.Errorf("error reading flags: %w", err)
Expand Down

0 comments on commit 152fc82

Please sign in to comment.