Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

Use default gopath supported in Go 1.8 #820

Merged
merged 4 commits into from
Feb 27, 2017

Conversation

ramya-rao-a
Copy link
Contributor

Fixes #813

if (err) {
return reject();
}
let gopathOutput = stdout.split('\n').find((value, index) => { return value.startsWith('GOPATH="') && value.endsWith('"'); });
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe could leave a \r after the split - you can split on /\r\n|\n/ or trim

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, done

@ramya-rao-a ramya-rao-a merged commit e51a915 into microsoft:master Feb 27, 2017
@ramya-rao-a ramya-rao-a deleted the default-gopath branch April 9, 2017 16:58
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.

2 participants