Skip to content

Commit

Permalink
fix initial output send to terminal
Browse files Browse the repository at this point in the history
  • Loading branch information
mattseddon committed Feb 27, 2023
1 parent 98e0bf6 commit 86d6d7c
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions extension/src/cli/viewable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,15 +58,11 @@ export class ViewableCliProcess extends DeferredDisposable {
processOutput: EventEmitter<string>,
processCompleted: EventEmitter<CliResult>
) {
processOutput.fire(
`Running: ${
options.executable === 'git' ? 'git' : 'dvc'
} ${options.args.join(' ')}\r\n\n`
)
const stopWatch = new StopWatch()
const command = getCommandString(options)
processOutput.fire(`Running: ${command}\r\n\n`)
const process = this.dispose.track(createProcess(options))

const command = getCommandString(options)
const baseEvent = { command, cwd: options.cwd, pid: process.pid }

notifyStarted(baseEvent, processStarted)
Expand Down

0 comments on commit 86d6d7c

Please sign in to comment.