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

Get valid gopath if multiple #275

Merged
merged 1 commit into from
Mar 7, 2017
Merged

Get valid gopath if multiple #275

merged 1 commit into from
Mar 7, 2017

Conversation

fooflare
Copy link
Contributor

@fooflare fooflare commented Mar 7, 2017

I added some logic to get where buffalo is installed. For most users, buffalo will be in the first path of the GOPATH but it's possible that somebody installs it by git in another path (Reason why I check every path)

Code based on: https://github.com/gobuffalo/buffalo/blob/master/buffalo/cmd/new.go#L86

@markbates markbates merged commit da9f64b into gobuffalo:v0.8.0 Mar 7, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants