Skip to content

Commit

Permalink
Revert "TMP: violate a rule in SelfCheck"
Browse files Browse the repository at this point in the history
Because the test is acceptable and we can now
merge the PR.
  • Loading branch information
knocte committed Jan 3, 2024
1 parent 8a47edc commit 424b8c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/FSharpLint.Core/Application/Lint.fs
Original file line number Diff line number Diff line change
Expand Up @@ -379,15 +379,15 @@ module Lint =
Configuration.loadConfig filePath
|> Ok
with
| _ as ex -> Error (string ex)
| ex -> Error (string ex)
| Default ->
try
Configuration.loadConfig "./fsharplint.json"
|> Ok
with
| :? System.IO.FileNotFoundException ->
Ok Configuration.defaultConfiguration
| _ as ex -> Error (string ex)
| ex -> Error (string ex)

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

0 comments on commit 424b8c3

Please sign in to comment.