fix includes
This commit is contained in:
parent
c8b544a47d
commit
f5c04c7037
2 changed files with 3 additions and 3 deletions
|
@ -26,8 +26,8 @@ class CallbacksRegistry {
|
|||
|
||||
while ((match = regexp.exec(stackString)) !== null) {
|
||||
const location = match[1]
|
||||
if (location.indexOf('(native)') !== -1) continue
|
||||
if (location.indexOf('electron.asar') !== -1) continue
|
||||
if (location.includes('native')) continue
|
||||
if (location.includes('electron.asar')) continue
|
||||
|
||||
ref = /([^/^)]*)\)?$/gi.exec(location)
|
||||
filenameAndLine = ref[1]
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
const assert = require('assert')
|
||||
const {CallbacksRegistry} = require('electron')
|
||||
|
||||
describe.only('CallbacksRegistry module', () => {
|
||||
describe('CallbacksRegistry module', () => {
|
||||
let registry = null
|
||||
|
||||
beforeEach(() => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue