Skip to content

Commit 93f661e

Browse files
authored
fix: handle empty JULIAHUB_PROJECT_UUID var correctly
1 parent 107edaf commit 93f661e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/authentication.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -515,6 +515,8 @@ function _juliahub_project(
515515
elseif isa(project, UUIDs.UUID)
516516
return project
517517
elseif isa(project, AbstractString)
518+
isempty(project) && return nothing
519+
518520
project_uuid = tryparse(UUIDs.UUID, project)
519521
if isnothing(project_uuid)
520522
throw(

0 commit comments

Comments
 (0)