Skip to content

Commit

Permalink
fixup! fixup! fixup! fixup! fixup! fixup! fixup! Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
skad0 committed Oct 2, 2016
1 parent d2d2b09 commit 74c99ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/detect.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ module.exports = function (obj) {
return 'v1';
} else if (typeof obj.deps === 'object') {
return 'enb';
} else if (typeof obj.version === 'string') {
return obj.version;
} else if (typeof obj.decl === 'object' || Array.isArray(obj)) {
return 'v2';
}
};

0 comments on commit 74c99ae

Please sign in to comment.