Skip to content

Commit

Permalink
debuggerWorker.js contains code incompatible with node 5
Browse files Browse the repository at this point in the history
Summary:
Hi,

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

Differential Revision: D4086542

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

0 comments on commit a16d728

Please sign in to comment.