From 0719b7296843dc552e68bf6143d565227f2c1b33 Mon Sep 17 00:00:00 2001 From: Smaug123 Date: Tue, 30 Jan 2024 09:02:02 +0000 Subject: [PATCH] Fail on no analyzers registered --- src/FSharp.Analyzers.Cli/Program.fs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FSharp.Analyzers.Cli/Program.fs b/src/FSharp.Analyzers.Cli/Program.fs index ecadd79..3c1c4f5 100644 --- a/src/FSharp.Analyzers.Cli/Program.fs +++ b/src/FSharp.Analyzers.Cli/Program.fs @@ -605,7 +605,7 @@ let main argv = let results = if analyzers = 0 then - Some [] + None else match projOpts, fscArgs with | [], None ->