Skip to content

Commit 2e55775

Browse files
Update Forge integration
1 parent a88634b commit 2e55775

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

paket.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
NUGET
22
remote: https://www.nuget.org/api/v2
3-
FAKE (4.27)
3+
FAKE (4.28)
44
FunScript (1.1.94)
55
Microsoft.Bcl (1.1.10) - framework: net10, net11, net20, net30, net35, net40, net40-full
66
Microsoft.Bcl.Build (>= 1.0.14)
@@ -24,11 +24,11 @@ GIT
2424
(90423567453c82104e852a188640cbfad5882aaa)
2525
build: build.cmd LocalRelease
2626
remote: https://github.com/fsprojects/Forge.git
27-
(7b61dba4b3b89b8c687230560d5df0e61c5be59a)
27+
(7846e65d45a47585be9a2338f3da0de9406b9127)
2828
build: build.cmd
2929
remote: [email protected]:ionide/ionide-fsgrammar.git
3030
(77ad35a24efc2d0acc84402250589a7f24b803ea)
3131
GITHUB
3232
remote: fsharp/FAKE
33-
modules/Octokit/Octokit.fsx (8c077f35f8cd0350485109ddd1810dafe9885d1a)
33+
modules/Octokit/Octokit.fsx (60acb2f035cb39f2bd40a6c58a4de10d915da248)
3434
Octokit

src/Components/Forge.fs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ namespace Ionide.VSCode.FSharp
22

33
open System
44
open FunScript
5-
open FunScript.TypeScript
5+
open FunScript.TypeScript
66
open FunScript.TypeScript.vscode
77
open FunScript.TypeScript.vscode.languages
88
open FunScript.TypeScript.path
@@ -23,6 +23,7 @@ module Forge =
2323

2424
let private spawnForge (cmd : string) =
2525
let cmd = cmd.Replace("\r", "").Replace("\n", "")
26+
let cmd = (cmd + " --no-prompt")
2627
let outputChannel = window.Globals.createOutputChannel "Forge"
2728
outputChannel.clear ()
2829
outputChannel.append ("forge " + cmd + "\n")
@@ -31,7 +32,7 @@ module Forge =
3132

3233

3334
let private execForge cmd =
34-
Process.exec location "mono" cmd
35+
Process.exec location "mono" (cmd + " --no-prompt")
3536

3637
let private handleForgeList (error : FunScript.TypeScript.Error, stdout : Buffer, stderr : Buffer) =
3738
if(stdout.toString() = "") then

0 commit comments

Comments
 (0)