Skip to content

Commit

Permalink
remove duplicate url check in core/index.js (#2658)
Browse files Browse the repository at this point in the history
  • Loading branch information
evenstensberg authored and brendankenny committed Jul 19, 2017
1 parent bbe2191 commit 425b5fb
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lighthouse-core/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,6 @@ const Config = require('./config/config');
module.exports = function(url, flags = {}, configJSON) {
const startTime = Date.now();
return Promise.resolve().then(_ => {
if (!url) {
throw new Error('Lighthouse requires a URL');
}

// set logging preferences, assume quiet
flags.logLevel = flags.logLevel || 'error';
log.setLevel(flags.logLevel);
Expand Down

0 comments on commit 425b5fb

Please sign in to comment.