Commit 38f4b61a588ffd515496a04663a2f3fa9178d161

Authored by Jacob Vosmaer
1 parent 8016cefa

Make it possible to call Gitlab::Popen.popen

Showing 1 changed file with 2 additions and 0 deletions   Show diff stats
lib/gitlab/popen.rb
... ... @@ -3,6 +3,8 @@ require 'open3'
3 3  
4 4 module Gitlab
5 5 module Popen
  6 + extend self
  7 +
6 8 def popen(cmd, path=nil)
7 9 unless cmd.is_a?(Array)
8 10 raise "System commands must be given as an array of strings"
... ...