Closed nvarscar closed 4 years ago
The change referenced was not a real change other than changing the order of the message being written and adding output message when nothing is being updated.
How would that effect detecting a property in the file itself?
Right now the function outputs nothing (and throws error) when used without -Update:
WARNING: [11:12:00][Get-DbaBuildReference] Build, Update are mutually exclusive. Please choose one or the other. Quitting.
Sorry, I thought the error message is included in the error output, but seems like it wasn't.
Yeah, this PR has not been merged yet to fix it. #6441
Environmental information
Report
After merging https://github.com/sqlcollaborative/dbatools/commit/6752767e1019a3150c2b7f35f66e22f966c2fa05 several commands are reporting issues as seen in https://ci.appveyor.com/project/sqlcollaborative/dbatools/builds/31696952
Host used
If anything other than powershell.exe was used, please confirm that you can duplicate the issue with powershell.exe
Errors Received
Steps to Reproduce
Run failed tests for Update-DbaInstance or Test-DbaBuild
Expected Behavior
-Update switch should not intervene with the command behavior
Actual Behavior
It does