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

Setting output directory with proper quoting can result in “The given path's format is not supported.” #1517

Closed
ferventcoder opened this issue Mar 10, 2018 · 0 comments

Comments

@ferventcoder
Copy link
Member

If you pass an option for --outputdirectory="'c:\somepath'" it will fail with “The given path's format is not supported.” This is because the option isn't removing the surrounding quotes like other options do. Ensure that all options that set values are doing so.

@ferventcoder ferventcoder added this to the 0.10.9 milestone Mar 10, 2018
@ferventcoder ferventcoder self-assigned this Mar 10, 2018
@ferventcoder ferventcoder changed the title Ensure outputdirectory options and all options can accept approved quoting format - “The given path's format is not supported.” Setting outputdirectory with proper quoting can result in “The given path's format is not supported.” Mar 10, 2018
@ferventcoder ferventcoder changed the title Setting outputdirectory with proper quoting can result in “The given path's format is not supported.” Setting output directory with proper quoting can result in “The given path's format is not supported.” Mar 23, 2018
ferventcoder added a commit that referenced this issue Mar 23, 2018
When setting output directory, if you do it in the proper manner as
suggested by the documentation, it will return an error with "The given
path's format is not supported." This is because the option is not
removing the surrounding quotes like the other options do.

Allow passing `--outputdirectory="'c:\somepath'"` in the proper manner
so that it matches consistency with all of the other options.
ferventcoder added a commit that referenced this issue Mar 23, 2018
* stable:
  (doc) Get-PackageParameters - fix example
  (GH-1476) Ensure docs are for Get-PackageParameters
  (doc) update generated docs
  (doc) update release notes for 0.10.9
  (GH-1517) Fix: Given path's format is not supported
  (doc)(maint) CHANGELOG formatting
  (doc) update licensed CHANGELOG
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants