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

Add check if the directory exist #155

Merged
merged 1 commit into from
Mar 8, 2022
Merged

Conversation

aralovelace
Copy link
Contributor

Jira Ticket Link / Motivation

nodejs/node#37216

In the future version of node, rmdirSync fails when the directory does not exist

This change make sure our script doesn't break after we upgrade node.

Summary of changes

See commits for details.

How do you manually test this?

Run the script node 16 or higher

Reviewer Tasks (optional)

Merge/Deploy Checklist

  • Written automated tests for implemented features/fixed bugs
  • Rebased and squashed commits
  • Commits have clear descriptions of their changes
  • Checked for any performance regressions

Frontend Checklist

  • No frontend changes in this PR
  • Added before/after screenshots for changes
  • Tested on different platforms/browsers with Browserstack
  • Compared with the initial design / our brand guidelines
  • Checked the code for accessibility issues (VoiceOver User Guide)?

nodejs/node#37216

In the future version of node, rmdirSync fails when the directory does not exist

This change make sure our script doesn't break after we upgrade node.
@aralovelace aralovelace requested a review from dpiatek March 8, 2022 14:43
@aralovelace aralovelace self-assigned this Mar 8, 2022
@dpiatek dpiatek temporarily deployed to ably-ui-check-directory-vqwvgy March 8, 2022 14:43 Inactive
@aralovelace aralovelace merged commit d3a365a into main Mar 8, 2022
@aralovelace aralovelace deleted the check-directory-exist branch March 8, 2022 16:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

3 participants