Skip to content

Commit 4a55e56

Browse files
committed
remove duplicate func
1 parent 36c133b commit 4a55e56

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

packages/core/src/test/shared/utilities/pathFind.test.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,7 @@ import * as path from 'path'
1010
import * as testutil from '../../testUtil'
1111
import { fs } from '../../../shared'
1212
import { findSshPath, findTypescriptCompiler, getVscodeCliPath } from '../../../shared/utilities/pathFind'
13-
14-
function isWin(): boolean {
15-
return process.platform === 'win32'
16-
}
13+
import { isWin } from '../../../shared/vscode/env'
1714

1815
describe('pathFind', function () {
1916
it('findTypescriptCompiler()', async function () {

0 commit comments

Comments
 (0)