Fix 'haxelib path lib:git', hg or other special version types
This commit is contained in:
@@ -1081,6 +1081,7 @@ class Main {
|
|||||||
}
|
}
|
||||||
var matches = [];
|
var matches = [];
|
||||||
for( v in FileSystem.readDirectory(dir) ) {
|
for( v in FileSystem.readDirectory(dir) ) {
|
||||||
|
if( v == version) return dir + "/" + v;
|
||||||
if( v.charAt(0) == "." )
|
if( v.charAt(0) == "." )
|
||||||
continue;
|
continue;
|
||||||
v = Data.unsafe(v);
|
v = Data.unsafe(v);
|
||||||
|
|||||||
Reference in New Issue
Block a user