Skip to content

Commit

Permalink
Update gosimple and gostaticcheck paths
Browse files Browse the repository at this point in the history
Fixes #11
  • Loading branch information
sridharv committed Jan 31, 2017
1 parent 1576857 commit 0d756ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gosimple/gosimple.go
Expand Up @@ -13,7 +13,7 @@ type Check struct {

// Check runs gosimple for pkg
func (c Check) Check(pkgs ...string) error {
return checkers.Lint("gosimple", "", "honnef.co/go/simple/cmd/gosimple", pkgs, c.Args()...)
return checkers.Lint("gosimple", "", "honnef.co/go/tools/cmd/gosimple", pkgs, c.Args()...)
}

// Args returns command line arguments used for gosimple
Expand Down
2 changes: 1 addition & 1 deletion gostaticcheck/gostaticcheck.go
Expand Up @@ -13,7 +13,7 @@ type Check struct {

// Check runs gostaticcheck for pkgs
func (c Check) Check(pkgs ...string) error {
return checkers.Lint("staticcheck", "", "honnef.co/go/staticcheck/cmd/staticcheck", pkgs, c.Args()...)
return checkers.Lint("staticcheck", "", "honnef.co/go/tools/cmd/staticcheck", pkgs, c.Args()...)
}

// Args returns command line arguments used for staticcheck
Expand Down

0 comments on commit 0d756ce

Please sign in to comment.