We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab50637 commit fc2af89Copy full SHA for fc2af89
src/client/common/platform/fileSystem.ts
@@ -374,8 +374,8 @@ export class FileSystem extends FileSystemUtils implements IFileSystem {
374
// Do not import vscode directly, as this isn't available in the Debugger Context.
375
// If stat is used in debugger context, it will fail, however theres a separate PR that will resolve this.
376
// tslint:disable-next-line: no-require-imports
377
- const vscode = require('vscode');
378
- return vscode.workspace.fs.stat(vscode.Uri.file(filePath));
+ const vsc = require('vscode');
+ return vsc.workspace.fs.stat(vscode.Uri.file(filePath));
379
}
380
381
public async readFile(filename: string): Promise<string> {
0 commit comments