1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

master-merge / lint fixes

Signed-off-by: Roman <ixrock@gmail.com>
This commit is contained in:
Roman 2021-04-27 12:34:52 +03:00
parent e93bca5169
commit 5a35d2a032

View File

@ -263,6 +263,7 @@ export class ExtensionDiscovery extends Singleton {
// fs.remove won't throw if path is missing
await fse.remove(path.join(extensionInstaller.extensionPackagesRoot, "package-lock.json"));
try {
// Verify write access to static/extensions, which is needed for symlinking
await fse.access(this.inTreeFolderPath, fse.constants.W_OK);