add dir property to result

This commit is contained in:
lemz1 2024-10-23 20:20:35 +02:00 committed by Doggo
parent 63202555cc
commit 2d092a4034

View file

@ -37,7 +37,7 @@ class HaxelibVersions
var innerText:String = switch (type) var innerText:String = switch (type)
{ {
case 'git': case 'git':
'${pkg.link}:${pkg.branch ?? 'None'}'; '${pkg.link}/${pkg.dir ?? ''}:${pkg.branch ?? 'None'}';
case 'haxelib': case 'haxelib':
'${pkg.version ?? 'None'}'; '${pkg.version ?? 'None'}';
default: default: