@@ -19,10 +19,10 @@ let private (|CompatibleVersion|_|) (version: string) =
19
19
else
20
20
None
21
21
| _ -> None
22
- let [<Literal>] fsharpLintToolName = " dotnet-fsharplint"
22
+ let [<Literal>] FSharpLintToolName = " dotnet-fsharplint"
23
23
24
24
let private (| CompatibleToolName | _ |) toolName =
25
- if toolName = fsharpLintToolName then
25
+ if toolName = FSharpLintToolName then
26
26
Some toolName
27
27
else
28
28
None
@@ -133,11 +133,11 @@ let private fsharpLintVersionOnPath () : (FSharpLintExecutableFile * FSharpLintV
133
133
| None -> Array.empty
134
134
|> Seq.choose ( fun folder ->
135
135
if isWindows then
136
- let fsharpLintExe = Path.Combine( folder, $" {fsharpLintToolName }.exe" )
136
+ let fsharpLintExe = Path.Combine( folder, $" {FSharpLintToolName }.exe" )
137
137
if File.Exists fsharpLintExe then Some fsharpLintExe
138
138
else None
139
139
else
140
- let fsharpLint = Path.Combine( folder, fsharpLintToolName )
140
+ let fsharpLint = Path.Combine( folder, FSharpLintToolName )
141
141
if File.Exists fsharpLint then Some fsharpLint
142
142
else None)
143
143
|> Seq.tryHead
@@ -199,12 +199,12 @@ let createFor (startInfo: FSharpLintToolStartInfo) : Result<RunningFSharpLintToo
199
199
ProcessStartInfo(
200
200
FileName = " dotnet" ,
201
201
WorkingDirectory = Folder.unwrap workingDirectory,
202
- Arguments = $" {fsharpLintToolName } --daemon" )
202
+ Arguments = $" {FSharpLintToolName } --daemon" )
203
203
| FSharpLintToolStartInfo.GlobalTool ->
204
204
let userProfile = Environment.GetFolderPath( Environment.SpecialFolder.UserProfile)
205
205
206
206
let fsharpLintExecutable =
207
- let fileName = if isWindows then $" {fsharpLintToolName }.exe" else fsharpLintToolName
207
+ let fileName = if isWindows then $" {FSharpLintToolName }.exe" else FSharpLintToolName
208
208
Path.Combine( userProfile, " .dotnet" , " tools" , fileName)
209
209
210
210
ProcessStartInfo(
0 commit comments