Skip to content

Add exists check before unlink#25241

Merged
rbuckton merged 1 commit into
masterfrom
fixFailedTestsUnlink
Jun 26, 2018
Merged

Add exists check before unlink#25241
rbuckton merged 1 commit into
masterfrom
fixFailedTestsUnlink

Conversation

@rbuckton
Copy link
Copy Markdown
Contributor

Adds a check for an existing .failed-tests file before calling fs.unlink.

@rbuckton rbuckton requested a review from weswigham June 26, 2018 19:29
Copy link
Copy Markdown
Member

@weswigham weswigham left a comment

Choose a reason for hiding this comment

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

Not just going to try-catch the unlink? 😛

This is good.

@rbuckton rbuckton merged commit cb6325d into master Jun 26, 2018
@rbuckton rbuckton deleted the fixFailedTestsUnlink branch June 26, 2018 20:07
@microsoft microsoft locked as resolved and limited conversation to collaborators Oct 21, 2025
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