pg: PG_REDEEM: only pause if DEBUG=1
Fixes https://github.com/vogler/free-games-claimer/issues/5#issuecomment-1527063819
This commit is contained in:
parent
2e8a731573
commit
a90f90afc0
1 changed files with 1 additions and 1 deletions
|
|
@ -254,7 +254,7 @@ try {
|
|||
} else {
|
||||
console.error(` Redeem on ${store} not yet implemented!`);
|
||||
}
|
||||
await page2.pause();
|
||||
if (cfg.debug) await page.pause();
|
||||
await page2.close();
|
||||
}
|
||||
notify_game.status = `<a href="${redeem[store]}">${redeem_action}</a> ${code} on ${store}`;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue