Skip to content

Commit

Permalink
Merge pull request #189 from Numpsy/rw/analyser_path_warn
Browse files Browse the repository at this point in the history
Log a warning if the path it's trying to load analyzers from doesn't …
  • Loading branch information
dawedawe authored Jan 2, 2024
2 parents 75df5b2 + 959660e commit 727a9c1
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 727a9c1

Please sign in to comment.