Commit d11dddc
authored
Fix exit code from
## Summary of changes
Fixes the return code for the `GacUninstallCommand` when the assembly is
not in the GAC
## Reason for change
If the assembly isn't in the GAC, we shouldn't return error when
uninstalling it, because the desired state is correct. This was changed
in #6995 but is an unintended behaviour change
## Implementation details
- Change the exit code `1` -> `0`
- Write a success message instead of a warning
- Fix typo
## Test coverage
🙈
## Other details
Currently some of the other "failure" messages are _effectively_ the
same thing, so it might make change to change those too. However, their
behaviour wasn't changed in #6995 so is non-criticalGacUninstallCommand when the assembly is not in the GAC (#7003)1 parent 4657b42 commit d11dddc
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
50 | | - | |
| 49 | + | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| |||
0 commit comments