Improve message when a haxelib is not found

This commit is contained in:
Joshua Granick
2015-03-03 15:54:13 -08:00
parent c846cb397c
commit c751703510

View File

@@ -261,7 +261,7 @@ class PathHelper {
LogHelper.error ("haxelib \"" + haxelib.name + "\" does not have an \"ndll/" + directoryName + "\" directory");
} else if (output.indexOf ("haxelib install ") > -1) {
} else if (output.indexOf ("haxelib install ") > -1 && output.indexOf ("haxelib install " + haxelib.name) == -1) {
var start = output.indexOf ("haxelib install ") + 16;
var end = output.lastIndexOf ("'");