fix includes

This commit is contained in:
Shelley Vohr 2017-11-16 08:15:56 -05:00
parent c8b544a47d
commit f5c04c7037
No known key found for this signature in database
GPG key ID: F13993A75599653C
2 changed files with 3 additions and 3 deletions

View file

@ -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]