lib/snapsync/sync_all.rb in snapsync-0.3.8 vs lib/snapsync/sync_all.rb in snapsync-0.4.0

- old
+ new

@@ -38,10 +38,10 @@ SnapperConfig.each_in_dir(config_dir) do |config| dir = target_dir + config.name if !dir.exist? Snapsync.warn "no directory for configuration #{config.name} in #{target_dir}" else - yield(config, LocalTarget.new(dir)) + yield(config, SyncTarget.new(dir)) end end end def run