lib/umwelt/project/file/store.rb in umwelt-0.1.0 vs lib/umwelt/project/file/store.rb in umwelt-0.1.1
- old
+ new
@@ -1,10 +1,10 @@
# frozen_string_literal: true
module Umwelt::Project::File
class Store < Umwelt::Abstract::File::Store
def call(struct)
- mkpath full_path.dirname
+ full_path.dirname.mkpath
full_path.write serialize destruct struct
end
def full_path