Skip to content
Snippets Groups Projects
Commit 1f733a95 authored by Lin Jen-Shin's avatar Lin Jen-Shin
Browse files

Remove redundant return

parent df5b7867
Branches
Tags
1 merge request!5142Add a download buttons for Build Artifacts
Pipeline #
Loading
@@ -16,7 +16,7 @@ class Projects::ArtifactsController < Projects::ApplicationController
Loading
@@ -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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment