Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Suppress output from Gitnesse::Dependencies

  • Loading branch information...
commit 80c9b9b641d5bd70ef55630679958719651fcaed 1 parent 4bc2ddf
@stewart stewart authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/gitnesse/dependencies.rb
View
4 lib/gitnesse/dependencies.rb
@@ -17,11 +17,11 @@ def self.check
protected
def self.check_git
- raise NoGitError, "git not found or not working." unless Kernel.system("git --version")
+ raise NoGitError, "git not found or not working." unless Kernel.system("git --version &> /dev/null")
end
def self.check_cucumber
- raise NoCucumberError, "cucumber not found or not working." unless Kernel.system("cucumber --version")
+ raise NoCucumberError, "cucumber not found or not working." unless Kernel.system("cucumber --version &> /dev/null")
end
def self.check_repository_url
Please sign in to comment.
Something went wrong with that request. Please try again.