summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2017-02-14 23:44:05 +0800
committerLin Jen-Shin <godfat@godfat.org>2017-02-15 15:31:51 +0800
commita1b06a82eac888024dc0d4c77f7c93f6053a3815 (patch)
tree120f095e6448e9a32e63344b3eef9c4628e43db7
parent53c94f9ea25c9d6a25b58a01db5f855f0719dbf4 (diff)
downloadgitlab-ce-a1b06a82eac888024dc0d4c77f7c93f6053a3815.tar.gz
rubocop: Align the operands of an expression
C: Style/MultilineOperationIndentation: Align the operands of an expression in an assignment spanning multiple lines.
-rw-r--r--lib/ci/api/builds.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ci/api/builds.rb b/lib/ci/api/builds.rb
index 2018191c4bd..0e17ac24d5a 100644
--- a/lib/ci/api/builds.rb
+++ b/lib/ci/api/builds.rb
@@ -169,8 +169,8 @@ module Ci
build.artifacts_metadata = metadata
build.artifacts_expire_in =
params['expire_in'] ||
- Gitlab::CurrentSettings.current_application_settings
- .default_artifacts_expire_in
+ Gitlab::CurrentSettings.current_application_settings
+ .default_artifacts_expire_in
if build.save
present(build, with: Entities::BuildDetails)