Skip to content

Commit

Permalink
zzz
Browse files Browse the repository at this point in the history
  • Loading branch information
erickzhao committed Nov 21, 2022
1 parent 569c8da commit 9ce20c9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion packages/api/cli/src/util/terminate.ts
Expand Up @@ -7,7 +7,6 @@ function redConsoleError(msg: string) {
process.on('unhandledRejection', (reason: string, promise: Promise<unknown>) => {
redConsoleError('\nAn unhandled rejection has occurred inside Forge:');
redConsoleError(reason.toString().trim());
redConsoleError('\nElectron Forge was terminated. Location:');
promise.catch((err: Error) => {
if ('stack' in err) {
const usefulStack = err.stack;
Expand Down
2 changes: 1 addition & 1 deletion packages/api/core/src/api/make.ts
Expand Up @@ -285,7 +285,7 @@ export const listrMake = (
if (err) {
throw err;
} else {
throw new Error(`An unknown error occured while making for target: ${maker.name}`);
throw new Error(`An unknown error occurred while making for target: ${maker.name}`);
}
}
},
Expand Down

0 comments on commit 9ce20c9

Please sign in to comment.