We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d22d16 commit c9e23e3Copy full SHA for c9e23e3
src/api/package.js
@@ -115,13 +115,13 @@ export default async (providedOptions = {}) => {
115
done();
116
});
117
118
- afterCopyHooks.concat(resolveHooks(forgeConfig.electronPackagerConfig.afterCopy, dir));
+ afterCopyHooks.push(...resolveHooks(forgeConfig.electronPackagerConfig.afterCopy, dir));
119
120
const afterPruneHooks = [];
121
122
if (pruneEnabled) {
123
afterPruneHooks.push(rebuildHookFn);
124
- afterPruneHooks.concat(resolveHooks(forgeConfig.electronPackagerConfig.afterPrune, dir));
+ afterPruneHooks.push(...resolveHooks(forgeConfig.electronPackagerConfig.afterPrune, dir));
125
}
126
127
const packageOpts = Object.assign({
0 commit comments