diff options
author | Douwe Maan <douwe@selenight.nl> | 2017-02-22 03:51:36 +0300 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2017-02-23 18:31:57 +0300 |
commit | 7ea641b6d0882fc782a7eb493daf8b66d076924b (patch) | |
tree | af94a52d4eae88b2bfd65f7c7f71a8e457defaad /lib/gitlab/shell.rb | |
parent | b2da4623089e4c7c53526436bd7c0a8f516910a3 (diff) |
Enable Style/ColonMethodCall
Diffstat (limited to 'lib/gitlab/shell.rb')
-rw-r--r-- | lib/gitlab/shell.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/shell.rb b/lib/gitlab/shell.rb index 330dfd866cb..3be8d3aec9c 100644 --- a/lib/gitlab/shell.rb +++ b/lib/gitlab/shell.rb @@ -82,7 +82,7 @@ module Gitlab def import_repository(storage, name, url) # Timeout should be less than 900 ideally, to prevent the memory killer # to silently kill the process without knowing we are timing out here. - output, status = Popen::popen([gitlab_shell_projects_path, 'import-project', + output, status = Popen.popen([gitlab_shell_projects_path, 'import-project', storage, "#{name}.git", url, '800']) raise Error, output unless status.zero? true |