Skip to content

Commit fe9754d

Browse files
committed
fixing issue with @ symbol in _from
1 parent c781fc0 commit fe9754d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/dependency-checker.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,10 @@ class EmberCLIDependencyChecker {
119119
version = pkgContent.version || null;
120120
if (isTarGz(versionSpecified)) {
121121
version = pkgContent._from || unknownVersion;
122+
if (version.includes('@')) {
123+
// use the bit after the '@'
124+
version = version.split('@')[1]
125+
}
122126
}
123127
} catch(e) {
124128
// JSON parse error

0 commit comments

Comments
 (0)