Skip to content

Commit

Permalink
Merge branch 'master' of github.com:kisielk/errcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
kisielk committed Jul 31, 2015
2 parents eff789f + 76bf61e commit 50b84cf
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions internal/errcheck.go → internal/errcheck/errcheck.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,7 @@ func (c *Checker) CheckPackages(paths ...string) error {
ctx.BuildTags = append(ctx.BuildTags, tag)
}
loadcfg := loader.Config{
ImportFromBinary: false,
Build: &ctx,
Build: &ctx,
}
rest, err := loadcfg.FromArgs(paths, true)
if err != nil {
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"runtime"
"strings"

"github.com/kisielk/errcheck/internal"
"github.com/kisielk/errcheck/internal/errcheck"
"github.com/kisielk/gotool"
)

Expand Down
2 changes: 1 addition & 1 deletion main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"strings"
"testing"

"github.com/kisielk/errcheck/internal"
"github.com/kisielk/errcheck/internal/errcheck"
)

func TestMain(t *testing.T) {
Expand Down

0 comments on commit 50b84cf

Please sign in to comment.