-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Closed
Labels
area-Hostin-prThere is an active PR which will close this issue when it is mergedThere is an active PR which will close this issue when it is merged
Milestone
Description
Describe the bug
dotnet --version completes fine even when global.json is malformed JSON.
To Reproduce
Make global.json malformed and execute dotnet --version.
Exceptions (if any)
Should exit with non-zero exit code. Instead:
$ dotnet --version
A JSON parsing exception occurred in [/Users/matt/code/nuke/external/functions/global.json], offset 36 (line 3, column 24): Invalid encoding in string.
6.0.100
$ echo $?
0
Further technical details
MacOS
Frulfump
Metadata
Metadata
Assignees
Labels
area-Hostin-prThere is an active PR which will close this issue when it is mergedThere is an active PR which will close this issue when it is merged
Type
Projects
Status
No status