Skip to content

Commit

Permalink
Merge pull request #57 from kevinresol/patch-1
Browse files Browse the repository at this point in the history
haxelib; lib with dots in name replaced with comma; fix #58
  • Loading branch information
ruby0x1 committed Nov 24, 2015
2 parents 8c85daa + 9626326 commit 799e32f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/flow/util/haxelib.js
Original file line number Diff line number Diff line change
Expand Up @@ -194,10 +194,10 @@ internal.parse_versions = function(flow) {
v = 'dev';
} else if(v == 'git') {
//git folder is in the root like so
lib_path = path.join( exports.haxelib_path, lib, 'git' );
lib_path = path.join( exports.haxelib_path, lib.replace(/\./gi,','), 'git' );
} else {
//the other types becomes /v,e,r/
lib_path = path.join( exports.haxelib_path, lib, v.replace(/\./gi,',') );
lib_path = path.join( exports.haxelib_path, lib.replace(/\./gi,','), v.replace(/\./gi,',') );
}

lib_path = util.normalize(lib_path, true);
Expand All @@ -216,4 +216,4 @@ internal.parse_versions = function(flow) {

} //each in libs

}
}

0 comments on commit 799e32f

Please sign in to comment.