File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ let getFantomasToolStartInfo arguments : ProcessStartInfo =
130130 if not ( File.Exists fantomasDll) then
131131 failwithf $" The fantomas dll at \" %s {fantomasDll}\" does not exist!"
132132
133- let argumentArray = [ fantomasDll; yield ! arguments ]
133+ let argumentArray = fantomasDll :: arguments
134134 let startInfo = ProcessStartInfo( " dotnet" , argumentArray)
135135 startInfo.UseShellExecute <- false
136136 startInfo.WorkingDirectory <- Path.GetTempPath()
@@ -150,7 +150,7 @@ let runFantomasTool arguments : FantomasToolResult =
150150 Error = error }
151151
152152let checkCode ( files : string list ) : FantomasToolResult =
153- let arguments = [ " --check" ] @ files
153+ let arguments = " --check" :: files
154154 runFantomasTool arguments
155155
156156let formatCode ( files : string list ) : FantomasToolResult = runFantomasTool files
You can’t perform that action at this time.
0 commit comments