Skip to content

Commit 9f198b6

Browse files
authored
Stop ignoring fsharplint.json parsing errors (#553)
Fixes #550
1 parent 9dbef3c commit 9f198b6

File tree

1 file changed

+2
-2
lines changed
  • src/FSharpLint.Core/Application

1 file changed

+2
-2
lines changed

src/FSharpLint.Core/Application/Lint.fs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -385,9 +385,9 @@ module Lint =
385385
Configuration.loadConfig "./fsharplint.json"
386386
|> Ok
387387
with
388-
| ex ->
389-
// TODO: log default config load error
388+
| :? System.IO.FileNotFoundException ->
390389
Ok Configuration.defaultConfiguration
390+
| _ as ex -> Error (string ex)
391391

392392
/// Lints an entire F# project by retrieving the files from a given
393393
/// path to the `.fsproj` file.

0 commit comments

Comments
 (0)