Fixes #37.
This commit is contained in:
parent
e84c5a721c
commit
66027f9435
1 changed files with 1 additions and 1 deletions
|
|
@ -278,7 +278,7 @@ proc processDeps(pkginfo: TPackageInfo, options: TOptions): seq[string] =
|
|||
var pkgsInPath: PStringTable = newStringTable(modeCaseSensitive)
|
||||
for p in result:
|
||||
let (name, version) = getNameVersion(p)
|
||||
if pkgsInPath.hasKey(name):
|
||||
if pkgsInPath.hasKey(name) and pkgsInPath[name] != version:
|
||||
raise newException(EBabel,
|
||||
"Cannot satisfy the dependency on $1 $2 and $1 $3" %
|
||||
[name, version, pkgsInPath[name]])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue