mirror of
https://github.com/electron/electron.git
synced 2026-01-27 16:28:23 -05:00
Fix js linting error
This commit is contained in:
@@ -783,8 +783,7 @@ describe('<webview> tag', function () {
|
||||
let requestId = null
|
||||
let activeMatchOrdinal = []
|
||||
const listener = function (e) {
|
||||
if (!e.result.finalUpdate)
|
||||
return
|
||||
if (!e.result.finalUpdate) return
|
||||
assert.equal(e.result.requestId, requestId)
|
||||
assert.equal(e.result.matches, 3)
|
||||
activeMatchOrdinal.push(e.result.activeMatchOrdinal)
|
||||
|
||||
Reference in New Issue
Block a user