Преглед изворни кода

Merge branch 'main' into support/fix-lint-error

jam411 пре 3 година
родитељ
комит
d028f4ff43
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      packages/app/src/server/service/plugin.ts

+ 1 - 1
packages/app/src/server/service/plugin.ts

@@ -45,7 +45,7 @@ export class PluginService {
 
     // save plugin metadata
     const ghRepositoryName = ghUrl.split('/').slice(-1)[0];
-    const installedPath = path.join(downloadDir, `${ghRepositoryName}-main`);
+    const installedPath = path.join(`${ghRepositoryName}-main`);
     const plugins = await PluginService.detectPlugins(origin, installedPath);
     await this.savePluginMetaData(plugins);