Skip to content

Commit

Permalink
Merge pull request #16 from lparry/lparry/fix-no-native-scope
Browse files Browse the repository at this point in the history
Make no-native work with ???
  • Loading branch information
xjamundx committed Jun 3, 2016
2 parents 524d0a1 + 9c77fe1 commit 782b7f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rules/no-native.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ module.exports = function (context) {
'Program:exit': function () {
var scope = context.getScope()

scope.through.forEach(function (ref) {
scope.implicit.left.forEach(function (ref) {
if (ref.identifier.name !== 'Promise') {
return
}
Expand Down

0 comments on commit 782b7f2

Please sign in to comment.