Skip to content

Commit

Permalink
Use Args.toWindowsCommandLine for command line arguments in Fake.Azur…
Browse files Browse the repository at this point in the history
…e.Kudu
  • Loading branch information
nikolaia committed Jun 14, 2018
1 parent c1f3db0 commit 3d480a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/Fake.Azure.Kudu/Kudu.fs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ let kuduSync() =
Process.execWithResult(fun psi ->
{ psi with
FileName = Path.Combine(kuduPath, "kudusync.cmd")
Arguments = sprintf """-v 50 -f "%s" -t "%s" -n "%s" -p "%s" -i ".git;.hg;.deployment;deploy.cmd" """ deploymentTemp deploymentTarget nextManifestPath previousManifestPath })
Arguments = Args.toWindowsCommandLine [ "-v"; "50"; "-f"; deploymentTemp; "-t"; deploymentTarget; "-n"; nextManifestPath; "-p"; previousManifestPath; "-i"; ".git;.hg;.deployment;deploy.cmd" ]})
(TimeSpan.FromMinutes 5.)
result.Results |> Seq.iter (fun cm -> printfn "%O: %s" cm.Timestamp cm.Message)
if not result.OK then failwith "Error occurred during Kudu Sync deployment."
Expand Down

0 comments on commit 3d480a5

Please sign in to comment.