Skip to content
This repository has been archived by the owner on Sep 9, 2020. It is now read-only.

Commit

Permalink
gps: minute cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
darkowlzz committed Oct 6, 2017
1 parent 938ef6c commit b17e759
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions internal/gps/hash.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ import (
"sort"
"strconv"
"strings"

"github.com/armon/go-radix"
)

const wcIgnoreSuffix = "*"
Expand Down Expand Up @@ -97,10 +95,10 @@ func (s *solver) writeHashingInputs(w io.Writer) {

// Add wildcard ignores to ignore list.
if s.rd.igpfx != nil {
s.rd.igpfx.Walk(radix.WalkFn(func(s string, v interface{}) bool {
s.rd.igpfx.Walk(func(s string, v interface{}) bool {
ig = append(ig, s+"*")
return false
}))
})
}

sort.Strings(ig)
Expand Down
2 changes: 1 addition & 1 deletion internal/gps/pkgtree/pkgtree.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import (
"strings"
"unicode"

radix "github.com/armon/go-radix"
"github.com/armon/go-radix"
)

// wildcard ignore suffix
Expand Down

0 comments on commit b17e759

Please sign in to comment.