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

Paths need to be resolved on -Path parameters #114

Closed
JustinGrote opened this issue Apr 13, 2020 · 2 comments
Closed

Paths need to be resolved on -Path parameters #114

JustinGrote opened this issue Apr 13, 2020 · 2 comments

Comments

@JustinGrote
Copy link
Contributor

@JustinGrote JustinGrote commented Apr 13, 2020

How to reproduce

save-psresource -name powershellget -path ~\desktop
Doesn't work: Save-PSResource: Could not find a part of the path.

save-psresource -name powershellget -path (Resolve-Path ~\desktop)
Works.

I recommend using the same methods that Resolve-Path uses to resolve paths prior to acting on the path argument.

@alerickson
Copy link
Member

@alerickson alerickson commented May 15, 2020

Addressed with the release of 3.0.0-beta3

@alerickson alerickson closed this May 15, 2020
@JustinGrote
Copy link
Contributor Author

@JustinGrote JustinGrote commented May 15, 2020

@alerickson tested and confirmed. Thanks!
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
GA
To Do:
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants