Skip to content

Gracefully handle GitHub plugin git exec failures #545

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

Merged
merged 1 commit into from
Aug 1, 2017

Conversation

bingenito
Copy link
Contributor

If shelljs exec of git rev-parse fails at the exec level, return null to add to ignored paths and continue.

If shelljs exec of git fails at the exec level, return null to add to
ignore list and continue.
Copy link
Collaborator

@aciccarello aciccarello left a comment

Choose a reason for hiding this comment

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

I haven't used the GH plugin or reproduced this bug but this seems reasonable.

@bingenito
Copy link
Contributor Author

@aciccarello Raises a different question I suppose - is there a way to run with all default plugins but that one? The specific situation here is an extremely non-standard node location on a unc path which causes problems for shelljs.exec. It's easier to handle the error and continue.

@blakeembrey blakeembrey merged commit eff1699 into TypeStrong:master Aug 1, 2017
@bingenito bingenito deleted the github-continue branch October 11, 2017 17:09
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.

3 participants