Skip to content

Commit 9d5283c

Browse files
committed
FL0043
1 parent 07c5e11 commit 9d5283c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/FSharpLint.Client/FSharpLintToolLocator.fs

+6-6
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ let private (|CompatibleVersion|_|) (version: string) =
1919
else
2020
None
2121
| _ -> None
22-
let [<Literal>] fsharpLintToolName = "dotnet-fsharplint"
22+
let [<Literal>] FSharpLintToolName = "dotnet-fsharplint"
2323

2424
let private (|CompatibleToolName|_|) toolName =
25-
if toolName = fsharpLintToolName then
25+
if toolName = FSharpLintToolName then
2626
Some toolName
2727
else
2828
None
@@ -133,11 +133,11 @@ let private fsharpLintVersionOnPath () : (FSharpLintExecutableFile * FSharpLintV
133133
| None -> Array.empty
134134
|> Seq.choose (fun folder ->
135135
if isWindows then
136-
let fsharpLintExe = Path.Combine(folder, $"{fsharpLintToolName}.exe")
136+
let fsharpLintExe = Path.Combine(folder, $"{FSharpLintToolName}.exe")
137137
if File.Exists fsharpLintExe then Some fsharpLintExe
138138
else None
139139
else
140-
let fsharpLint = Path.Combine(folder, fsharpLintToolName)
140+
let fsharpLint = Path.Combine(folder, FSharpLintToolName)
141141
if File.Exists fsharpLint then Some fsharpLint
142142
else None)
143143
|> Seq.tryHead
@@ -199,12 +199,12 @@ let createFor (startInfo: FSharpLintToolStartInfo) : Result<RunningFSharpLintToo
199199
ProcessStartInfo(
200200
FileName = "dotnet",
201201
WorkingDirectory = Folder.unwrap workingDirectory,
202-
Arguments = $"{fsharpLintToolName} --daemon")
202+
Arguments = $"{FSharpLintToolName} --daemon")
203203
| FSharpLintToolStartInfo.GlobalTool ->
204204
let userProfile = Environment.GetFolderPath(Environment.SpecialFolder.UserProfile)
205205

206206
let fsharpLintExecutable =
207-
let fileName = if isWindows then $"{fsharpLintToolName}.exe" else fsharpLintToolName
207+
let fileName = if isWindows then $"{FSharpLintToolName}.exe" else FSharpLintToolName
208208
Path.Combine(userProfile, ".dotnet", "tools", fileName)
209209

210210
ProcessStartInfo(

0 commit comments

Comments
 (0)