Skip to content

Commit

Permalink
Revert "Reverted commit D3516741"
Browse files Browse the repository at this point in the history
Summary:
Unrevert a revert
Closes facebook#8581

Differential Revision: D3517894

Pulled By: bestander

fbshipit-source-id: 19006b9c6438cf05d44ee152eb7b1b17ea4d61a0
  • Loading branch information
bestander authored and Facebook Github Bot 5 committed Jul 5, 2016
1 parent 3b98722 commit 46e880a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packager/react-packager/src/Server/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 46e880a

Please sign in to comment.