@@ -10,7 +10,6 @@ import { getOptions } from './options'
1010import { Config } from '../config'
1111import { PseudoTerminal } from '../vscode/pseudoTerminal'
1212import { createProcess , Process } from '../processExecution'
13- import { setContextValue } from '../vscode/context'
1413import { StopWatch } from '../util/time'
1514import { sendErrorTelemetryEvent , sendTelemetryEvent } from '../telemetry'
1615import { EventName } from '../telemetry/constants'
@@ -70,7 +69,6 @@ export class CliRunner extends Disposable implements ICli {
7069 this . dispose . track (
7170 this . onDidCompleteProcess ( ( ) => {
7271 this . pseudoTerminal . setBlocked ( false )
73- CliRunner . setRunningContext ( false )
7472 this . processOutput . fire (
7573 '\r\nTerminal will be reused by DVC, press any key to close it\r\n\n'
7674 )
@@ -101,9 +99,6 @@ export class CliRunner extends Disposable implements ICli {
10199 )
102100 }
103101
104- private static setRunningContext = ( isRunning : boolean ) =>
105- setContextValue ( 'dvc.runner.running' , isRunning )
106-
107102 public runExperiment ( dvcRoot : string , ...args : Args ) {
108103 return this . run (
109104 dvcRoot ,
@@ -207,7 +202,6 @@ export class CliRunner extends Disposable implements ICli {
207202 }
208203
209204 private startProcess ( cwd : string , args : Args ) {
210- CliRunner . setRunningContext ( true )
211205 this . pseudoTerminal . setBlocked ( true )
212206 this . processOutput . fire ( `Running: dvc ${ args . join ( ' ' ) } \r\n\n` )
213207 this . currentProcess = this . createProcess ( {
0 commit comments