From d1291f67551c58168af43698a359cb5ddfd266b0 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Thu, 3 Nov 2016 01:33:53 +0100 Subject: node_modules --- node_modules/babel-traverse/lib/path/modification.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'node_modules/babel-traverse/lib/path/modification.js') diff --git a/node_modules/babel-traverse/lib/path/modification.js b/node_modules/babel-traverse/lib/path/modification.js index 9c8c7d3e5..a763f6d7b 100644 --- a/node_modules/babel-traverse/lib/path/modification.js +++ b/node_modules/babel-traverse/lib/path/modification.js @@ -257,7 +257,7 @@ function pushContainer(listKey, nodes) { } function hoist() { - var scope = arguments.length <= 0 || arguments[0] === undefined ? this.scope : arguments[0]; + var scope = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.scope; var hoister = new _hoister2.default(this, scope); return hoister.run(); -- cgit v1.2.3