Skip to content

Commit

Permalink
Initial attempt at fix for --fsiargs
Browse files Browse the repository at this point in the history
  • Loading branch information
bentayloruk committed Jul 18, 2014
1 parent b27c8dc commit 3a225ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/FakeLib/FSIHelper.fs
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ let runBuildScriptWithFsiArgsAt workingDirectory printDetails (FsiArgs(fsiOption
let fsiConfig = FsiEvaluationSession.GetDefaultConfiguration()

let commonOptions =
[ "fsi.exe"; "--noninteractive" ] @ fsiOptions @ scriptArgs
[ "fsi.exe"; "--noninteractive" ] @ fsiOptions @ [script] @ scriptArgs
|> List.toArray

let sbOut = new Text.StringBuilder()
Expand All @@ -113,7 +113,7 @@ let runBuildScriptWithFsiArgsAt workingDirectory printDetails (FsiArgs(fsiOption
let session = FsiEvaluationSession.Create(fsiConfig, commonOptions, stdin, outStream, errStream)

try
session.EvalScript script
session.Run()
true
with
| _ ->
Expand Down

0 comments on commit 3a225ce

Please sign in to comment.