Skip to content

Commit 96a9e34

Browse files
committed
fix start
1 parent ce8e3f7 commit 96a9e34

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/pit/its/start-wizard.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,8 @@ const { log, args, createPage, closePage, takeScreenshot, waitForServerReady, di
109109
log(`Clicked code button\n`);
110110

111111
// Download the App and save in current folder
112-
const fname = `my-app-${mode}.zip`
113-
if (mode == 'dev' && process.env.RUNNER_OS != 'Windows') {
112+
const fname = `my-app-${arg.mode || 'dev'}.zip`
113+
if ((arg.mode || 'dev') == 'dev' && process.env.RUNNER_OS != 'Windows') {
114114
log(`Downloading project\n`);
115115
await page.getByRole('button', { name: 'Download Project' }).click();
116116
const downloadPromise = page.waitForEvent('download');

0 commit comments

Comments
 (0)