diff --git a/packages/plugin-ext/src/main/node/plugin-deployer-entry-impl.ts b/packages/plugin-ext/src/main/node/plugin-deployer-entry-impl.ts index 6c6c86aba6684..746acc3931a64 100644 --- a/packages/plugin-ext/src/main/node/plugin-deployer-entry-impl.ts +++ b/packages/plugin-ext/src/main/node/plugin-deployer-entry-impl.ts @@ -72,14 +72,14 @@ export class PluginDeployerEntryImpl implements PluginDeployerEntry { } isFile(): boolean { try { - return fs.lstatSync(this.currentPath).isFile(); + return fs.statSync(this.currentPath).isFile(); } catch (e) { return false; } } isDirectory(): boolean { try { - return fs.lstatSync(this.currentPath).isDirectory(); + return fs.statSync(this.currentPath).isDirectory(); } catch (e) { return false; }