Skip to content

Commit

Permalink
Hopefully fix CI build fail here too.
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveGilham committed Sep 24, 2023
1 parent 7d9e8f3 commit fccb948
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Build/actions.fs
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,12 @@ using System.Runtime.CompilerServices;
Assert.That(result.ExitCode, Is.EqualTo 0, msg)

let Run (file, dir, args) msg =
CreateProcess.fromRawCommand file args
CreateProcess.fromRawCommand
file
(if isNull args then
Seq.empty<string>
else
args)
|> CreateProcess.withWorkingDirectory dir
|> CreateProcess.withFramework
|> Proc.run
Expand Down

0 comments on commit fccb948

Please sign in to comment.