diff options
author | Robert Speicher <robert@gitlab.com> | 2016-06-30 18:21:53 +0300 |
---|---|---|
committer | Robert Speicher <robert@gitlab.com> | 2016-06-30 18:21:53 +0300 |
commit | 443d584253540facbb07efdebafce1fb875da481 (patch) | |
tree | 44396c86ee3a28ab743740a311a45e515a592ea3 /lib/gitlab | |
parent | 73196fbd65f414c051ece96bad7fb7042d3cf5b1 (diff) | |
parent | efd70c18784690473b93714982e75c0c87210588 (diff) |
Merge branch 'rubocop/enable-unneeded-capital-w-cop' into 'master'
Enable Style/UnneededCapitalW Rubocop cop
## What does this MR do?
This MR enables Rubocop cop that checks if `%W[]`, which supports interpolation, is needed.
## What are the relevant issue numbers?
#17478
See merge request !5010
Diffstat (limited to 'lib/gitlab')
-rw-r--r-- | lib/gitlab/key_fingerprint.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/key_fingerprint.rb b/lib/gitlab/key_fingerprint.rb index 8684b4636ea..b75ae512d92 100644 --- a/lib/gitlab/key_fingerprint.rb +++ b/lib/gitlab/key_fingerprint.rb @@ -39,7 +39,7 @@ module Gitlab # OpenSSH 6.8 introduces a new default output format for fingerprints. # Check the version and decide which command to use. - version_output, version_status = popen(%W(ssh -V)) + version_output, version_status = popen(%w(ssh -V)) return false unless version_status.zero? version_matches = version_output.match(/OpenSSH_(?<major>\d+)\.(?<minor>\d+)/) |