mirror of https://github.com/status-im/metro.git
Revert "Reverted commit D3516741"
Summary: Unrevert a revert Closes https://github.com/facebook/react-native/pull/8581 Differential Revision: D3517894 Pulled By: bestander fbshipit-source-id: 19006b9c6438cf05d44ee152eb7b1b17ea4d61a0
This commit is contained in:
parent
e428436416
commit
8f5ebd55da
|
@ -499,8 +499,10 @@ class Server {
|
|||
const sourceUrl = frame.file;
|
||||
// Skip `/debuggerWorker.js` which drives remote debugging because it
|
||||
// does not need to symbolication.
|
||||
// Skip anything except http(s), because there is no support for that yet
|
||||
if (!urlIndexes.hasOwnProperty(sourceUrl) &&
|
||||
!sourceUrl.endsWith('/debuggerWorker.js')) {
|
||||
!sourceUrl.endsWith('/debuggerWorker.js') &&
|
||||
sourceUrl.startsWith('http')) {
|
||||
urlIndexes[sourceUrl] = uniqueUrls.length;
|
||||
uniqueUrls.push(sourceUrl);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue