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

use filepath.Join instead of concatenating strings #37

Closed
nhooyr opened this issue Oct 25, 2016 · 0 comments
Closed

use filepath.Join instead of concatenating strings #37

nhooyr opened this issue Oct 25, 2016 · 0 comments
Labels
Milestone

Comments

@nhooyr
Copy link

nhooyr commented Oct 25, 2016

At

go2nix/cli.go

Line 57 in df946b0

if strings.HasPrefix(currDir, goPathDir+"/src/") {

This will cause an error if GOPATH=~/go/ (the trailing slash).

@kamilchm kamilchm added the bug label Oct 25, 2016
@kamilchm kamilchm added this to the release-1.2 milestone Dec 13, 2016
kamilchm added a commit that referenced this issue Dec 17, 2016
FIX #37 Use absolute paths for searching in GOPATH
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants