Skip to content

Commit

Permalink
Improving extension #753
Browse files Browse the repository at this point in the history
  • Loading branch information
bpatrik committed Nov 19, 2023
1 parent ebb9886 commit dfd26e9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/backend/model/extension/ExtensionManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,8 @@ export class ExtensionManager implements IObjectManager {
}

if (fs.existsSync(packageJsonPath)) {
Logger.silly(LOG_TAG, `Running: "npm install --omit=dev" in ${extPath}`);
await exec('npm install --omit=dev', {
Logger.silly(LOG_TAG, `Running: "npm install --prefer-offline --no-audit --progress=false --omit=dev" in ${extPath}`);
await exec('npm install --no-audit --progress=false --omit=dev', {
cwd: extPath
});
// eslint-disable-next-line @typescript-eslint/no-var-requires
Expand Down
2 changes: 1 addition & 1 deletion src/backend/model/extension/IExtension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ export interface IExtensionMessengers {
}): void;
}

export interface IExtensionObject<C> {
export interface IExtensionObject<C = void> {
/**
* ID of the extension that is internally used. By default, the name and ID matches if there is no collision.
*/
Expand Down

0 comments on commit dfd26e9

Please sign in to comment.