Replace deprecated method that cause ruby warnings File.exit?
This commit is contained in:
1 parent
27df982625
commit
e313235b55
4 files changed
+4
-4
No files matched your search
+1
-1
@@ -38,7 +38,7 @@ WIKI
|
||||
output.gsub!(/-32\./, "-16.")
|
||||
wiki_path = File.expand_path(
|
||||
File.join(File.dirname(__FILE__), '../wiki/'))
|
||||
Dir.mkdir(wiki_path) if !File.exist?(wiki_path)
|
||||
Dir.mkdir(wiki_path) unless File.exists?(wiki_path)
|
||||
File.open(File.join(wiki_path, 'SupportedAPIs.wiki'), 'w') do |file|
|
||||
file.write(output)
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user