Skip to content

Commit

Permalink
fix(config): disable docker by default
Browse files Browse the repository at this point in the history
  • Loading branch information
jef committed Dec 11, 2020
1 parent e2bf574 commit dca916b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/config.ts
Expand Up @@ -176,7 +176,7 @@ const browser = {
userAgent: ''
};

const docker = envOrBoolean(process.env.DOCKER);
const docker = envOrBoolean(process.env.DOCKER, false);

const logLevel = envOrString(process.env.LOG_LEVEL, 'info');

Expand Down
5 changes: 4 additions & 1 deletion src/index.ts
Expand Up @@ -42,8 +42,11 @@ async function main() {
);
}

if (args.length > 0) {
logger.info('ℹ puppeteer config: ', args);
}

await stop();
logger.warn('ℹ printing puppeteer configs::', args);
browser = await puppeteer.launch({
args,
defaultViewport: {
Expand Down

0 comments on commit dca916b

Please sign in to comment.