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 1e2b3ae commit 796a9abCopy full SHA for 796a9ab
packages/app/scripts/publish-without-make.ts
@@ -3,7 +3,8 @@ import { api as forge } from '@electron-forge/core';
3
4
console.log(process.argv);
5
6
-const isDryRun = process.argv[3] === '--dry-run';
+const isDryRun =
7
+ process.argv[2] === '--dry-run' || process.argv[3] === '--dry-run';
8
9
console.log(isDryRun ? 'Starting a dry run' : 'Publishing from dry run');
10
0 commit comments