Skip to content

Commit 06ed85b

Browse files
committed
check for null or ""
1 parent dc56544 commit 06ed85b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Haxelib.hx

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ function fromVersion(defaultUser:String, lib:String, version:LibVersion):ExitCod
99
return switch (version) {
1010
case Dev:
1111
Haxelib.git(defaultUser, lib);
12-
case Release:
12+
case Release | "" | null:
1313
Haxelib.install(lib);
1414
case version:
1515
Haxelib.install(lib, cast version);

0 commit comments

Comments
 (0)