Commit 08ec6b9b authored by Mike Greiling's avatar Mike Greiling

update has_artifact? to return true when named artifact is not the only artifact

parent ba1c613d
......@@ -63,7 +63,7 @@ module EE
private
def has_artifact?(name)
options.dig(:artifacts, :paths) == [name] &&
options.dig(:artifacts, :paths)&.include?(name) &&
artifacts_metadata?
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment