nil
nil copied to clipboard
Fix `nil diagnostics` exit code
nil diagnostics --help states:
Exit with non-zero code if there are any diagnostics. (
1for errors,2if 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.