diff options
author | Evan Read <eread@gitlab.com> | 2021-01-22 08:52:52 +0300 |
---|---|---|
committer | Evan Read <eread@gitlab.com> | 2021-01-22 08:52:52 +0300 |
commit | 5448bf1a4f832d2532fb0fc858fb715e2895299f (patch) | |
tree | 2b7d01b79b7f4b3c777fbd78809d15dc64aa9876 /lib/helpers/generic.rb | |
parent | d7d4f4819c5395a175a7a3222257fdb3426d4c90 (diff) |
Fix minor Rubocop style issues
Diffstat (limited to 'lib/helpers/generic.rb')
-rw-r--r-- | lib/helpers/generic.rb | 2 |
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 # |