mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-08 09:08:48 +01:00
@@ -1234,6 +1234,10 @@ export class StatResolver {
|
|||||||
|
|
||||||
function stat(this: any): void {
|
function stat(this: any): void {
|
||||||
extfs.statLink(fileResource.fsPath, (error: Error, statAndIsLink) => {
|
extfs.statLink(fileResource.fsPath, (error: Error, statAndIsLink) => {
|
||||||
|
if (error) {
|
||||||
|
return this(error, null);
|
||||||
|
}
|
||||||
|
|
||||||
isSymbolicLink = statAndIsLink.isSymbolicLink;
|
isSymbolicLink = statAndIsLink.isSymbolicLink;
|
||||||
this(null, statAndIsLink.stat);
|
this(null, statAndIsLink.stat);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user