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

The "Output Directory" parameter should allow non-existing directories #3

Closed
dvdvorle opened this issue Nov 27, 2018 · 2 comments
Closed

Comments

@dvdvorle
Copy link
Contributor

Pickles will create the directory when it doesn't exist. The current implementation of this task makes it so that I have to create the output directory myself. I'd like the task to allow non-existing directory for this parameter.

@mmajcica
Copy link
Owner

I'm a bit lost, in the code I do check if the given output folder is created. Is maybe this line throwing an exception in that case?

Assert-VstsPath -LiteralPath $out -PathType Container

@dvdvorle
Copy link
Contributor Author

Yes that's the line that throws, but Pickles will create the directory if needed anyway, so there's no need to create it yourself.

mmajcica added a commit that referenced this issue Nov 28, 2018
Fixed #3 - allow non-existant output directories
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

No branches or pull requests

2 participants