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 detection for failure to generateRunner #24084

Merged
merged 4 commits into from
Aug 21, 2019

Conversation

westonruter
Copy link
Member

In generateRunner() it currently is detecting for an error for running ant by checking for the response stderr. This turns out to not always work. When Java is not installed, then the only stdout is populated. The proper way to detect for an error is to check the exit code. This PR does that, as well as add a link to where instructions can be found to install Java as required.

Copy link
Contributor

@rsimha rsimha left a comment

Choose a reason for hiding this comment

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

Thanks!

@rsimha rsimha merged commit b4986ff into ampproject:master Aug 21, 2019
thekorn pushed a commit to edelight/amphtml that referenced this pull request Sep 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants