diff options
author | Gabriel Mazetto <gabriel@gitlab.com> | 2016-08-06 05:03:01 +0300 |
---|---|---|
committer | Gabriel Mazetto <gabriel@gitlab.com> | 2016-08-06 05:03:01 +0300 |
commit | c9aa19881cf719baaea1bbb9bb00f84145a99b8b (patch) | |
tree | 59a90d5ae7fd50a27bb3a389c721b3bc228b9cc1 /lib/gitlab/popen.rb | |
parent | aa49c20e81210d8b397287eb1ec10a29bcd2f132 (diff) |
Enable Style/SpaceAroundEqualsInParameterDefault cop
Diffstat (limited to 'lib/gitlab/popen.rb')
-rw-r--r-- | lib/gitlab/popen.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/popen.rb b/lib/gitlab/popen.rb index 43e07e09160..ca23ccef25b 100644 --- a/lib/gitlab/popen.rb +++ b/lib/gitlab/popen.rb @@ -5,7 +5,7 @@ module Gitlab module Popen extend self - def popen(cmd, path=nil) + def popen(cmd, path = nil) unless cmd.is_a?(Array) raise "System commands must be given as an array of strings" end |