Skip to content

Commit

Permalink
fix(core): error if tmpdir is false, throw error
Browse files Browse the repository at this point in the history
  • Loading branch information
ianho committed Jan 25, 2024
1 parent 2fe0f5d commit 40ce291
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/api/core/src/api/package.ts
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,10 @@ export const listrPackage = (
};
packageOpts.quiet = true;

if (packageOpts.tmpdir === false) {
throw new Error('config.forge.packagerConfig.tmpdir is not supported to set false by Electron Forge');
}

if (packageOpts.all) {
throw new Error('config.forge.packagerConfig.all is not supported by Electron Forge');
}
Expand Down

0 comments on commit 40ce291

Please sign in to comment.