Skip to content

Commit

Permalink
add default options
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickhulce committed May 22, 2017
1 parent 9acbc1a commit 7cdb197
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lighthouse-core/gather/connections/connection.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class Connection {
* @param {Object=} options
* @return {!Promise}
*/
sendCommand(method, params = {}, options) {
sendCommand(method, params = {}, options = {}) {
log.formatProtocol('method => browser', {method, params}, 'verbose');
const id = ++this._lastCommandId;
const message = JSON.stringify({id, method, params});
Expand Down

0 comments on commit 7cdb197

Please sign in to comment.