Explorar el Código

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

jam411 hace 3 años
padre
commit
d028f4ff43
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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);