Kiota deletes all files in the directory when output clear is enabled, not only generated files #5977
Labels
priority:p0
Blocking issue. Loss of critical functions eg security/privacy violation. Bug SLA<=48hrs
status:waiting-for-triage
An issue that is yet to be reviewed or assigned
type:bug
A broken experience
Milestone
Describe the bug
Feedback given by a customer in the market place:
This seems to be reproducible when "Clean Output" is enabled in Kiota VS Code extension settings.
Expected behavior
Kiota should only delete generated files created by itself
How to reproduce
foo
and put an OpenAPI file in it..git
,.csharp
files.foo
folder.foo
folder.Kiota shouldn't delete files that were not created by itself.
The same occurs when regenerating. Same scenario explained by the customer in the market place.
foo
.foo
folder.foo
folder.foo
folder. The ones related to the SDK and all the other files.Kiota Version
1.22 (latest released)
The text was updated successfully, but these errors were encountered: