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

creating the new folder fails if it already exists, we should add -force #785

Closed
baywet opened this issue Jun 28, 2022 · 0 comments · Fixed by #786
Closed

creating the new folder fails if it already exists, we should add -force #785

baywet opened this issue Jun 28, 2022 · 0 comments · Fixed by #786
Assignees

Comments

@baywet
Copy link
Member

baywet commented Jun 28, 2022

New-Item -ItemType directory -Path $env:RepoModelsDir

As seen in the logs java weekly kiota generation now fails if the directory is present. We should include -Force so the script doesn't fail when the folder already exists

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants