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

Move Get-ChildItem Below Test-Path #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

aotongarcia
Copy link

If the x64 folder does not exist in the destination path, the script will fail with Access Denied error because there's no x64 folder to remove items from

I propose you move Test-Path above the Get-ChildItem to avoid this issue.

Thanks for this amazing script by the way!

If the `x64` folder does not exist in the destination path, the script will fail with `Access Denied` error because there's no `x64` folder to remove items from

I propose you move `Test-Path` above the `Get-ChildItem` to avoid this issue.

Thanks for this amazing script by the way!
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.

1 participant