RemoveDir Task should error or prompt for confirmation when provided Directories argument is empty
Open
Area: Tasks
triaged
- Dominant language
- C#
- Stars
- 5.5k
- Forks
- 1.5k
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 141
Description
### Steps to reproduce
```
```
If at runtime $(My_Local_DirPath) is empty
RemoveDir will actually execute and print this on console
Removing Directory ``` "\" ``` and will delete the entire root.
Suggestion:
1) Prompt user if they really want to delete in this particular scenario
2) Or introduce a new parameter for RemoveDir task
NoPrompt
or
Force
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.