Skip to content

Commit 0b18bee

Browse files
committed
Merge pull request #62 from cupakromer/file-exists-deprecated
Ruby 2.1 has deprecated File.exists
2 parents 0082eb3 + 33f7272 commit 0b18bee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ namespace :git do
142142

143143
FileUtils.cd(ReposPath) do
144144
Projects.each do |repo|
145-
unless File.exists?(repo)
145+
unless File.exist?(repo)
146146
system "git clone #{url_prefix}/#{repo}.git"
147147
end
148148
end

0 commit comments

Comments
 (0)