lib/dato/dump/runner.rb in dato-0.1.13 vs lib/dato/dump/runner.rb in dato-0.1.14
- old
+ new
@@ -12,16 +12,17 @@
@config_path = config_path
@api_token = api_token
end
def run
+ site.load
+
Dsl::Root.new(
File.read(config_path),
site.items_repo,
operation
)
- site.load
operation.perform
end
def operation
@operation ||= Operation::Root.new(Dir.pwd)