Skip to content

Commit 33f7272

Browse files
committed
Ruby 2.1 has deprecated File.exists
1 parent ede54fb commit 33f7272

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)