Skip to content

Commit

Permalink
Fix bug failed extension to run
Browse files Browse the repository at this point in the history
  • Loading branch information
SizaSL committed Aug 27, 2021
1 parent e03c017 commit 17bf4c2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/ExecutableConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ import { RootSuite } from './RootSuite';
import { readJSONSync } from 'fs-extra';
import { Spawner, DefaultSpawner, SpawnWithExecutor } from './Spawner';
import { RunTask, ExecutionWrapper, FrameworkSpecific } from './AdvancedExecutableInterface';
import { isWin } from '../test/Common';
import { LoggerWrapper } from './LoggerWrapper';

///
Expand Down Expand Up @@ -575,7 +574,7 @@ export class ExecutableConfig implements vscode.Disposable {
}

function checkEnvForPath(env: Record<string, string>, log: LoggerWrapper): void {
if (isWin) {
if (process.platform === 'win32') {
checkPathVariance('PATH', env, log);
checkPathVariance('Path', env, log);
checkPathVariance('path', env, log);
Expand Down

0 comments on commit 17bf4c2

Please sign in to comment.