Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Read <eread@gitlab.com>2021-01-22 08:52:52 +0300
committerEvan Read <eread@gitlab.com>2021-01-22 08:52:52 +0300
commit5448bf1a4f832d2532fb0fc858fb715e2895299f (patch)
tree2b7d01b79b7f4b3c777fbd78809d15dc64aa9876 /lib/helpers/generic.rb
parentd7d4f4819c5395a175a7a3222257fdb3426d4c90 (diff)
Fix minor Rubocop style issues
Diffstat (limited to 'lib/helpers/generic.rb')
-rw-r--r--lib/helpers/generic.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/helpers/generic.rb b/lib/helpers/generic.rb
index 76399023..564118e8 100644
--- a/lib/helpers/generic.rb
+++ b/lib/helpers/generic.rb
@@ -16,7 +16,7 @@ module Nanoc::Helpers
# which they are considered production.
#
def production_and_default_branch?
- ENV['NANOC_ENV'] == 'production' and ENV['CI_DEFAULT_BRANCH'] == ENV['CI_COMMIT_REF_NAME']
+ ENV['NANOC_ENV'] == 'production' && ENV['CI_DEFAULT_BRANCH'] == ENV['CI_COMMIT_REF_NAME']
end
#