From 06ed85be7e3e998e5d3e79cbd652db53c59736d5 Mon Sep 17 00:00:00 2001 From: George FunBook Date: Thu, 7 Mar 2024 13:36:29 -0600 Subject: [PATCH] check for null or "" --- src/Haxelib.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Haxelib.hx b/src/Haxelib.hx index 99d08ea..4df2d2e 100644 --- a/src/Haxelib.hx +++ b/src/Haxelib.hx @@ -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);