mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
add comment
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
1 parent
fbbd18b316
commit
11c4ca8fa2
1 file changed
+1
@@ -48,6 +48,7 @@ export class ExtensionManager {
|
||||
async load() {
|
||||
logger.info("[EXTENSION-MANAGER] loading extensions from " + this.extensionPackagesRoot)
|
||||
if (this.inTreeFolderPath !== this.inTreeTargetPath) {
|
||||
// we need to copy in-tree extensions so that we can symlink them properly on "npm install"
|
||||
await fs.remove(this.inTreeTargetPath)
|
||||
await fs.ensureDir(this.inTreeTargetPath)
|
||||
await fs.copy(this.inTreeFolderPath, this.inTreeTargetPath)
|
||||
|
||||
Reference in new issue
Block a user