Merge pull request #8070 from electron/remove-unnecessary-escape-characters

Remove unnecessary escape characters
This commit is contained in:
Kevin Sawicki 2016-11-23 14:31:32 -08:00 committed by GitHub
commit 27625d2665

View file

@ -29,7 +29,7 @@ class CallbacksRegistry {
if (location.indexOf('electron.asar') !== -1) {
continue
}
ref = /([^\/^\)]*)\)?$/gi.exec(location)
ref = /([^/^)]*)\)?$/gi.exec(location)
filenameAndLine = ref[1]
break
}