Remove redundant return
This commit is contained in:
parent
df5b78676e
commit
1f733a95c7
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ class Projects::ArtifactsController < Projects::ApplicationController
|
|||
directory = params[:path] ? "#{params[:path]}/" : ''
|
||||
@entry = build.artifacts_metadata_entry(directory)
|
||||
|
||||
return render_404 unless @entry.exists?
|
||||
render_404 unless @entry.exists?
|
||||
end
|
||||
|
||||
def file
|
||||
|
|
Loading…
Reference in a new issue