Skip to content

Commit

Permalink
Log a warning if the path it's trying to load analyzers from doesn't …
Browse files Browse the repository at this point in the history
…exist
  • Loading branch information
Numpsy committed Dec 31, 2023
1 parent a952061 commit 959660e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/FSharp.Analyzers.SDK/FSharp.Analyzers.SDK.Client.fs
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ type Client<'TAttribute, 'TContext when 'TAttribute :> AnalyzerAttribute and 'TC

Array.length analyzers, analyzers |> Seq.collect snd |> Seq.length
else
logger.LogWarning("Analyzer path {analyzerPath} does not exist", dir)
0, 0

member x.RunAnalyzers(ctx: 'TContext) : Async<AnalyzerMessage list> =
Expand Down

0 comments on commit 959660e

Please sign in to comment.