Skip to content

Commit

Permalink
Handle both cases
Browse files Browse the repository at this point in the history
  • Loading branch information
ascandella committed May 18, 2017
1 parent ee9379e commit 87d96cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/gps/vcs_source.go
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ func (s *gopkginSource) listVersions(ctx context.Context) ([]PairedVersion, erro

// Gopkg.in has a special "-unstable" suffix which we need to handle
// separately.
if s.unstable && !strings.HasSuffix(tv.name, gopkgUnstableSuffix) {
if s.unstable != strings.HasSuffix(tv.name, gopkgUnstableSuffix) {
continue
}

Expand Down

0 comments on commit 87d96cf

Please sign in to comment.