From f02e7331d87f2c499623f2a5645162bee3db9346 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Thu, 17 Jul 2014 08:17:57 -0400 Subject: [PATCH] Remove redundant code --- rake/lib/git.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/rake/lib/git.rb b/rake/lib/git.rb index 792d85d3..0cab96bc 100644 --- a/rake/lib/git.rb +++ b/rake/lib/git.rb @@ -1,9 +1,7 @@ include Rake::DSL def git(url,dest) - if not Dir.exists?(dest) - sh "git clone #{url} #{dest}" unless Dir.exists?(dest) - end + sh "git clone #{url} #{dest}" unless Dir.exists?(dest) end def github(repo,dest)