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

Clean working directory #306

Merged
2 commits merged into from
Aug 9, 2018
Merged

Clean working directory #306

2 commits merged into from
Aug 9, 2018

Conversation

rebpdx
Copy link
Contributor

@rebpdx rebpdx commented Aug 9, 2018

Prior to this commit failed builds would leave a dirty working directory. This
commit fixes that by adding a try, finally block to make sure the directory is
cleaned.

Prior to this commit failed builds would leave a dirty working directory. This
commit fixes that by adding a try, finally block to make sure the directory is
cleaned.
Prior to this commit the checkout call was outside the try block. This commit
fixes that by moving the checkout into the try block incase it fails and the
working directory still needs to be cleaned up.
@rebpdx rebpdx requested review from shnewto, cotos and a user August 9, 2018 20:20
@ghost ghost merged commit 9e740a6 into devel Aug 9, 2018
@ghost ghost deleted the maint/clean-workspace branch August 9, 2018 21:04
This pull request was closed.
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.

None yet

2 participants