Skip to content

Commit

Permalink
fix(filelist): correct logger name. (#3262)
Browse files Browse the repository at this point in the history
Append the state of the browser if it gets lost.
  • Loading branch information
johnjbarton authored Feb 21, 2019
1 parent c43f584 commit 375bb5e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ class Browser {
this.id = id
this.fullName = fullName
this.name = helper.browserFullNameToShort(fullName)
this.state = CONNECTED
this.lastResult = new BrowserResult()
this.disconnectsCount = 0
this.activeSockets = [socket]
Expand All @@ -30,6 +29,7 @@ class Browser {

this.noActivityTimeoutId = null
this.pendingDisconnect = null
this.setState(CONNECTED)
}

init () {
Expand Down
2 changes: 1 addition & 1 deletion lib/file-list.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const _ = require('lodash')
const File = require('./file')
const Url = require('./url')
const helper = require('./helper')
const log = require('./logger').create('watcher')
const log = require('./logger').create('filelist')
const createPatternObject = require('./config').createPatternObject

class FileList {
Expand Down

0 comments on commit 375bb5e

Please sign in to comment.