Skip to content

Commit f32e024

Browse files
authored
Merge pull request #60 from kahliburke/fix-null-check-testenv
Fix null check in derived_testenv function
2 parents b84d770 + 33904db commit f32e024

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/layer_testitems.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ Salsa.@derived function derived_testenv(rt, uri)
117117

118118
# Sometimes the fallback project is actually not a fallback project
119119
# because there is no manifest, here we check for that
120-
if derived_project(rt, project_uri) === nothing
120+
if project_uri === nothing || derived_project(rt, project_uri) === nothing
121121
project_uri = nothing
122122
end
123123
end

0 commit comments

Comments
 (0)