mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 09:46:12 +00:00
fix FTBFS, replace Dir.exist by File.directory for old ruby versions
This commit is contained in:
parent
d50c228248
commit
fe4b2e5104
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ module Jekyll
|
|||
css_file = digest + ".css"
|
||||
css_path = File.join(site.dest, css_file)
|
||||
|
||||
if !Dir.exist?(site.dest)
|
||||
if !File.directory?(site.dest)
|
||||
Dir.mkdir(site.dest)
|
||||
end
|
||||
File.open(css_path, "w") do |f|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue