BigW Consortium Gitlab

Commit 1f733a95 by Lin Jen-Shin

Remove redundant return

parent df5b7867
...@@ -16,7 +16,7 @@ class Projects::ArtifactsController < Projects::ApplicationController ...@@ -16,7 +16,7 @@ class Projects::ArtifactsController < Projects::ApplicationController
directory = params[:path] ? "#{params[:path]}/" : '' directory = params[:path] ? "#{params[:path]}/" : ''
@entry = build.artifacts_metadata_entry(directory) @entry = build.artifacts_metadata_entry(directory)
return render_404 unless @entry.exists? render_404 unless @entry.exists?
end end
def file def file
......
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