@@ -332,9 +332,7 @@ module Fsi =
332
332
333
333
| None ->
334
334
let dir = workspace.rootPath.Value
335
- let file = node.path.join ( dir, " tmp.fsx" )
336
- let line = defaultArg overrideLine 1
337
- file, dir, line
335
+ node.path.join ( dir, " tmp.fsx" ), dir, 1
338
336
339
337
match lastCd with
340
338
// Same dir as last time, no need to send it
@@ -474,7 +472,7 @@ module Fsi =
474
472
fsiTerminal <- Some terminal
475
473
476
474
// initially have to set up the terminal to be in the correct start directory
477
- sendCd newTerminal window.activeTextEditor
475
+ sendCd newTerminal window.activeTextEditor None
478
476
479
477
return newTerminal
480
478
}
@@ -532,7 +530,7 @@ module Fsi =
532
530
let pos = editor.selection.start
533
531
let line = editor.document.lineAt pos
534
532
535
- sendCd terminal ( Some editor)
533
+ sendCd terminal ( Some editor) None
536
534
537
535
do ! send terminal line.text
538
536
do ! moveCursorDownOneLine ()
@@ -550,7 +548,7 @@ module Fsi =
550
548
551
549
let! terminal = getTerminal ()
552
550
553
- sendCd terminal ( Some editor)
551
+ sendCd terminal ( Some editor) None
554
552
555
553
let range =
556
554
vscode.Range.Create(
@@ -577,7 +575,7 @@ module Fsi =
577
575
578
576
let! terminal = getTerminal ()
579
577
580
- sendCd terminal ( Some editor)
578
+ sendCd terminal ( Some editor) None
581
579
582
580
let range =
583
581
vscode.Range.Create(
0 commit comments