Skip to content
Snippets Groups Projects
Commit 43cd803d authored by Jason Mulligan's avatar Jason Mulligan
Browse files

`Reflect` is problematic on older versions of node.js

parent a63db63a
No related branches found
No related tags found
No related merge requests found
...@@ -59,7 +59,7 @@ process.once("message", function (obj) { ...@@ -59,7 +59,7 @@ process.once("message", function (obj) {
} }
}; };
Reflect.ownKeys(global.self).forEach(function (key) { Object.keys(global.self).forEach(function (key) {
global[key] = global.self[key]; global[key] = global.self[key];
}); });
......
...@@ -51,7 +51,7 @@ process.once("message", obj => { ...@@ -51,7 +51,7 @@ process.once("message", obj => {
} }
}; };
Reflect.ownKeys(global.self).forEach(key => { Object.keys(global.self).forEach(key => {
global[key] = global.self[key]; global[key] = global.self[key];
}); });
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment