Skip to content

Commit

Permalink
Fix sort command
Browse files Browse the repository at this point in the history
  • Loading branch information
ffurrer2 committed Jul 2, 2020
1 parent 78600c2 commit 315b6d4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ All notable changes to this project will be documented in this file.

### Security

## [1.0.1] - 2020-07-02

### Fixed

* Fixed pipeline support of sort command

## [1.0.0] - 2020-06-24

### Added
Expand Down
2 changes: 1 addition & 1 deletion cmd/semver/sort.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ var sortCmd = &cobra.Command{
Args: cobra.ArbitraryArgs,
DisableFlagsInUseLine: true,
Run: func(cmd *cobra.Command, args []string) {
sort := func(s []string) {
sort := func(args []string) {
semverSlice := make([]semver.SemVer, 0)
for _, s := range args {
semVer, err := semver.Parse(s)
Expand Down

0 comments on commit 315b6d4

Please sign in to comment.