Commit d0de05a
Address PR feedback: use withFlagArg and always pass --force
- Use withFlagArg('--force', ...) instead of withArg('--force') as it
is purpose-built for boolean flags.
- Always pass force: true since the non-containerized path already
prompts the user via confirmOverwriteExisting before reaching
dotnet new, so --force is needed to match the confirmed intent.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 367fe0f commit d0de05a
File tree
2 files changed
+3
-3
lines changed- src
- commands/createNewProject/ProjectCreateStep
- templates/dotnet
2 files changed
+3
-3
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | | - | |
| 106 | + | |
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
| |||
0 commit comments