We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6e8682c commit 1594daaCopy full SHA for 1594daa
src/common/utils/pathUtils.ts
@@ -1,11 +1,8 @@
1
-import { NotebookCell, NotebookDocument, Uri, workspace } from 'vscode';
2
-import { isWindows } from '../../managers/common/utils';
3
import * as os from 'os';
4
import * as path from 'path';
5
-import { Uri } from 'vscode';
+import { NotebookCell, NotebookDocument, Uri, workspace } from 'vscode';
6
import { isWindows } from './platformUtils';
7
8
-
9
export function checkUri(scope?: Uri | Uri[] | string): Uri | Uri[] | string | undefined {
10
if (!scope) {
11
return undefined;
@@ -60,7 +57,6 @@ function getComparisonKey(uri: Uri): string {
60
57
.toString();
61
58
}
62
59
63
64
export function normalizePath(fsPath: string): string {
65
const path1 = fsPath.replace(/\\/g, '/');
66
if (isWindows()) {
0 commit comments