Permalink
Browse files

debuggerWorker.js contains code incompatible with node 5

Summary:
Hi,

This is a small fix for issue #10564.
Closes #10571

Differential Revision: D4086542

fbshipit-source-id: a50b4b3afdefe4abfe64869768ce51c6c628708a
  • Loading branch information...
1 parent 82911a8 commit a16d72842dc80cec3bb274080c57b4d98de26ddf @mhidou mhidou committed with Facebook Github Bot Oct 27, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 local-cli/server/util/debuggerWorker.js
@@ -15,7 +15,7 @@ var messageHandlers = {
for (var key in message.inject) {
self[key] = JSON.parse(message.inject[key]);
}
- let error;
+ var error;
try {
importScripts(message.url);
} catch (err) {

0 comments on commit a16d728

Please sign in to comment.