Skip to content

refactor(rmdir): Use 'Remove-Item' instead of 'rmdir'#4691

Merged
niheaven merged 2 commits intodevelopfrom
fix-comspec
Jan 25, 2022
Merged

refactor(rmdir): Use 'Remove-Item' instead of 'rmdir'#4691
niheaven merged 2 commits intodevelopfrom
fix-comspec

Conversation

@niheaven
Copy link
Copy Markdown
Member

@niheaven niheaven commented Jan 25, 2022

Description

  • rmdir -> Remove-Item -Force
  • rmdir /s -> Remove-Item -Recurse -Force
  • del -> Remove-Item -Force
  • Style lib/psmodules.ps1

Motivation and Context

Relates to #4687 (comment)

How Has This Been Tested?

Checklist:

  • I have read the Contributing Guide.
  • I have updated the documentation accordingly.
  • I have updated the tests accordingly.

@niheaven niheaven merged commit 3f4c191 into develop Jan 25, 2022
@niheaven niheaven deleted the fix-comspec branch January 25, 2022 18:34
se35710 pushed a commit to se35710/scoop that referenced this pull request Mar 8, 2022
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.

2 participants