File tree 1 file changed +4
-4
lines changed
src/app/Fake.Core.Process
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -43,9 +43,9 @@ module ProcessUtils =
43
43
// and https://github.com/fsharp/FAKE/issues/1899
44
44
Environment.environVarOrDefault " PATHEXT" " .COM;.EXE;.BAT"
45
45
|> String.split ';'
46
- |> Seq.collect ( fun postFix -> findFilesInternal path ( file + postFix))
47
- |> fun findings -> Seq.append findings ( findFilesInternal path file)
48
- else findFilesInternal path file
46
+ |> Seq.collect ( fun postFix -> findFilesInternal dirs ( file + postFix))
47
+ |> fun findings -> Seq.append findings ( findFilesInternal dirs file)
48
+ else findFilesInternal dirs file
49
49
50
50
/// Searches the given directories for all occurrences of the given file name
51
51
/// [omit]
@@ -66,7 +66,7 @@ module ProcessUtils =
66
66
Environment.pathDirectories
67
67
|> Seq.filter Path.isValidPath
68
68
|> Seq.append [ " ." ]
69
- |> fun path -> findFiles path file
69
+ |> fun dirs -> findFiles dirs file
70
70
71
71
/// Searches the current directory and the directories within the PATH
72
72
/// environment variable for the given file. If successful returns the full
You can’t perform that action at this time.
0 commit comments