Skip to content

Commit 06e1b87

Browse files
logic error
1 parent 1d2f81e commit 06e1b87

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/gather/analyze-ember-object.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ module.exports = function analyzeEmberObject(possibleEmberObject) {
44
}
55
if (
66
possibleEmberObject.default &&
7-
typeof possibleEmberObject.default.proto !== 'function' &&
8-
typeof possibleEmberObject.default.create !== 'function'
7+
(typeof possibleEmberObject.default.proto !== 'function' ||
8+
typeof possibleEmberObject.default.create !== 'function')
99
) {
1010
return undefined;
1111
}

0 commit comments

Comments
 (0)