We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 110b237 commit dd7f65eCopy full SHA for dd7f65e
src/FSharp.Analyzers.Cli/Program.fs
@@ -18,6 +18,7 @@ open FSharp.Analyzers.Cli.CustomLogging
18
19
type ExitErrorCodes =
20
| Success = 0
21
+ | NoAnalyzersFound = -1
22
| AnalyzerFoundError = -2
23
| FailedAssemblyLoading = -3
24
| AnalysisAborted = -4
@@ -810,7 +811,7 @@ let main argv =
810
811
|> Some
812
813
match results with
- | None -> -1
814
+ | None -> int ExitErrorCodes.NoAnalyzersFound
815
| Some results ->
816
let results, hasError =
817
match Result.allOkOrError results with
0 commit comments