Skip to content

Commit

Permalink
remove logger
Browse files Browse the repository at this point in the history
  • Loading branch information
Kartik Raj committed Nov 16, 2023
1 parent c64b555 commit d6c11f9
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/client/common/process/worker/rawProcessApiWrapper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@

import { SpawnOptions } from 'child_process';
import * as path from 'path';
import { WorkspaceService } from '../../application/workspace';
import { ProcessLogger } from '../logger';
import { executeWorkerFile } from './main';
import { EnvironmentVariables, ExecutionResult, IDisposable, ShellOptions } from './types';

Expand All @@ -14,8 +12,6 @@ export function shellExec(
defaultEnv?: EnvironmentVariables,
disposables?: Set<IDisposable>,
): Promise<ExecutionResult<string>> {
const processLogger = new ProcessLogger(new WorkspaceService());
processLogger.logProcess(command, undefined, options);
return executeWorkerFile(path.join(__dirname, 'shellExecWorker.js'), {
command,
options,
Expand All @@ -31,8 +27,6 @@ export function plainExec(
defaultEnv?: EnvironmentVariables,
disposables?: Set<IDisposable>,
): Promise<ExecutionResult<string>> {
const processLogger = new ProcessLogger(new WorkspaceService());
processLogger.logProcess(file, args, options);
return executeWorkerFile(path.join(__dirname, 'plainExecWorker.js'), {
file,
args,
Expand Down

0 comments on commit d6c11f9

Please sign in to comment.