You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Run the command line tool and pass /config with a path to a non-existent file. Observe that version json results are produced and no error is reported.
dotnet tool run dotnet-gitversion /config .\GitVersion-ACS.yaml
Expected Behavior
No results and an invalid path should result in an error in the tool indicating that the config cannot be used.
Actual Behavior
Version json results are produced and no error is reported.
Possible Fix
The path must be getting validated - this should cause an error to manifest.
Steps to Reproduce
See above commands
Context
I thought the tooling was setup and working, but it had the wrong version path. Had to spend time debugging instead of have a clear indicator on what I did wrong.
Your Environment
Version Used: 5.12.0
Operating System and version (Windows 10, Ubuntu 18.04):
Windows 11
PowerShell 7.x
DotNet 6
The text was updated successfully, but these errors were encountered:
Describe the bug
Run the command line tool and pass /config with a path to a non-existent file. Observe that version json results are produced and no error is reported.
Expected Behavior
No results and an invalid path should result in an error in the tool indicating that the config cannot be used.
Actual Behavior
Version json results are produced and no error is reported.
Possible Fix
The path must be getting validated - this should cause an error to manifest.
Steps to Reproduce
See above commands
Context
I thought the tooling was setup and working, but it had the wrong version path. Had to spend time debugging instead of have a clear indicator on what I did wrong.
Your Environment
The text was updated successfully, but these errors were encountered: