Skip to content

Commit adfd3f5

Browse files
committed
make JET happy?
1 parent 355856c commit adfd3f5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/projects.jl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,11 @@ const ProjectReference = Union{AbstractString, UUIDs.UUID}
3636
# if present.
3737
function _project_uuid(auth::Authentication, project::Union{ProjectReference, Nothing})::UUIDs.UUID
3838
if isnothing(project)
39-
if isnothing(auth.project_id)
39+
project_id = project_id
40+
if isnothing(project_id)
4041
throw(ProjectNotSetError())
4142
else
42-
return auth.project_id
43+
return project_id
4344
end
4445
elseif isa(project, UUIDs.UUID)
4546
return project

0 commit comments

Comments
 (0)