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

Commit

Permalink
or maybe here
Browse files Browse the repository at this point in the history
  • Loading branch information
sdboyer committed Jan 19, 2017
1 parent 689daf3 commit f5622c5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
5 changes: 3 additions & 2 deletions analysis.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,8 @@ func ListPackages(fileRoot, importRoot string) (PackageTree, error) {
return filepath.SkipDir
}

// Compute the import path. Run the result through ToSlash(), so that windows
// paths are normalized to Unix separators, as import paths are expected
// Compute the import path. Run the result through ToSlash(), so that
// windows paths are normalized to slashes, as import paths are expected
// to be.
ip := filepath.ToSlash(filepath.Join(importRoot, strings.TrimPrefix(path, fileRoot)))

Expand Down Expand Up @@ -541,6 +541,7 @@ func (t PackageTree) ExternalReach(main, tests bool, ignore map[string]bool) Rea
continue
}

fmt.Println("BITS", filepath.Clean(imp), t.ImportRoot)
if !checkPrefixSlash(filepath.Clean(imp), t.ImportRoot) {
w.ex[imp] = true
} else {
Expand Down
1 change: 0 additions & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ platform:
install:
- go version
- go env
- choco install bzr
- set PATH=C:\Program Files (x86)\Bazaar\;C:\Program Files\Mercurial\;%PATH%
build_script:
- go get github.com/Masterminds/glide
Expand Down

0 comments on commit f5622c5

Please sign in to comment.