Skip to content
This repository has been archived by the owner on Feb 26, 2019. It is now read-only.

Commit

Permalink
wrong variable name
Browse files Browse the repository at this point in the history
In v35 I renamed this variable to differentiate, but missed one
location.

This code isn't being tested well then. Will add a test after releasing
v36 to fix this issue.

Fixes #358
  • Loading branch information
Edward Muller committed Dec 14, 2015
1 parent 483cb88 commit b34e1d5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# v36 2015/12/14

* Fixes #358: Using wrong variable. Will add test after release.

# v35 2015/12/11

* Fixes #356: Major performance regressions in v34
Expand Down
2 changes: 1 addition & 1 deletion list.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ func listPackage(path string) (*Package, error) {
for base := ip.Dir; base != ip.Root; base = filepath.Dir(base) {
vdir := filepath.Join(base, "vendor", i)
debugln("checking for vendor dir:", vdir)
dp, err = build.ImportDir(dir, build.FindOnly)
dp, err = build.ImportDir(vdir, build.FindOnly)
if err != nil {
if os.IsNotExist(err) {
continue
Expand Down
2 changes: 1 addition & 1 deletion version.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"runtime"
)

const version = 35
const version = 36

var cmdVersion = &Command{
Name: "version",
Expand Down

0 comments on commit b34e1d5

Please sign in to comment.