nil icon indicating copy to clipboard operation
nil copied to clipboard

Fix `nil diagnostics` exit code

Open 9999years opened this issue 1 year ago • 0 comments

nil diagnostics --help states:

Exit with non-zero code if there are any diagnostics. (1 for errors, 2 if only warnings)

In practice, nil would only exit with code 1 if there were errors, and if warnings were present it would exit with code 0.

9999years avatar Mar 01 '24 19:03 9999years