summaryrefslogtreecommitdiff
path: root/app/presenters/ci
diff options
context:
space:
mode:
Diffstat (limited to 'app/presenters/ci')
-rw-r--r--app/presenters/ci/build_runner_presenter.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/presenters/ci/build_runner_presenter.rb b/app/presenters/ci/build_runner_presenter.rb
index 471b6d3b726..c75f62149f8 100644
--- a/app/presenters/ci/build_runner_presenter.rb
+++ b/app/presenters/ci/build_runner_presenter.rb
@@ -27,7 +27,7 @@ module Ci
def git_depth
if git_depth_variable
git_depth_variable[:value]
- else
+ elsif Feature.enabled?(:ci_project_git_depth, default_enabled: true)
project.default_git_depth
end.to_i
end