Fix missing dir error. Begin investigating "double path concatenation" issue
This commit is contained in:
parent
e0d0739af6
commit
33429e3f0b
|
@ -226,7 +226,9 @@ module Pigeon
|
|||
path
|
||||
end
|
||||
full_path = File.join(dir, file_name)
|
||||
raise "HERE!" if dir.include?(".")
|
||||
unless File.file?(full_path)
|
||||
FileUtils.makedirs(dir)
|
||||
File.write(full_path, data)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue