Skip to content

Commit

Permalink
fix: sort scripts list
Browse files Browse the repository at this point in the history
This allows to have a consistent output from `devbox run`.

Closes jetify-com#1631 and jetify-com#1991.
  • Loading branch information
guerinoni committed Jan 7, 2025
1 parent c0d4d98 commit 120d74f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions internal/devbox/devbox.go
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,9 @@ func (d *Devbox) ListScripts() []string {
keys[i] = k
i++
}

slices.Sort(keys)

return keys
}

Expand Down

0 comments on commit 120d74f

Please sign in to comment.