Skip to content

Commit

Permalink
fix: fix auto open not working as expected
Browse files Browse the repository at this point in the history
  • Loading branch information
TGiles committed Oct 17, 2019
1 parent 6cd2fb1 commit 3212aee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lighthouse_runner.js
Original file line number Diff line number Diff line change
Expand Up @@ -229,10 +229,10 @@ const openReportsWithoutServer = (tempFilePath) => {
*/
function main(program) {
let domainRoot;
if (program.open === undefined) {
if (program.express === undefined) {
autoOpen = runnerConfig.autoOpenReports;
} else {
autoOpen = program.open;
autoOpen = program.express;
}
if (program.url === undefined) {
domainRoot = new URL(simpleCrawlerConfig.host);
Expand Down

0 comments on commit 3212aee

Please sign in to comment.