Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix error handling when failing to list magefiles #174

Merged
merged 1 commit into from
Sep 20, 2018

Conversation

zbindenren
Copy link
Contributor

This pull request fixes error handling. It changes the message from:

No .go files marked with the mage build tag in this directory.

to:

Error determining list of magefiles: failed to list non-mage gofiles: exec: "go": executable file not found in $PATH

when for example the go binary is not found in PATH.

@natefinch
Copy link
Member

Awesome, thank you!

@natefinch natefinch changed the title fix error handling fix error handling when failing to list magefiles Sep 20, 2018
@natefinch natefinch merged commit 1426fb6 into magefile:master Sep 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants