Skip to content

Commit

Permalink
check for null or ""
Browse files Browse the repository at this point in the history
  • Loading branch information
Geokureli committed Mar 7, 2024
1 parent dc56544 commit 06ed85b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Haxelib.hx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ function fromVersion(defaultUser:String, lib:String, version:LibVersion):ExitCod
return switch (version) {
case Dev:
Haxelib.git(defaultUser, lib);
case Release:
case Release | "" | null:
Haxelib.install(lib);
case version:
Haxelib.install(lib, cast version);
Expand Down

0 comments on commit 06ed85b

Please sign in to comment.