File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/FSharpLint.Core/Application Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -577,7 +577,7 @@ let loadConfig (configPath:string) =
577577let defaultConfiguration =
578578 let assembly = typeof< Rules.Rule>. GetTypeInfo() .Assembly
579579 let resourceName = Assembly.GetExecutingAssembly() .GetManifestResourceNames()
580- |> Seq.find ( fun n -> n.EndsWith( " fsharplint.json " , System.StringComparison.Ordinal))
580+ |> Seq.find ( fun n -> n.EndsWith( SettingsFileName , System.StringComparison.Ordinal))
581581 use stream = assembly.GetManifestResourceStream( resourceName)
582582 match stream with
583583 | null -> failwithf " Resource '%s ' not found in assembly '%s '" resourceName ( assembly.FullName)
Original file line number Diff line number Diff line change @@ -384,7 +384,7 @@ module Lint =
384384 | ex -> Error ( string ex)
385385 | Default ->
386386 try
387- Configuration.loadConfig " ./fsharplint.json "
387+ Configuration.loadConfig $ " ./{Configuration.SettingsFileName} "
388388 |> Ok
389389 with
390390 | :? System.IO.FileNotFoundException ->
You can’t perform that action at this time.
0 commit comments