lib/commands/sync.rb in slidemgr-1.0.2 vs lib/commands/sync.rb in slidemgr-1.0.3

- old
+ new

@@ -11,21 +11,21 @@ argument :name, :type => :string, :desc => 'The presentation name', :required => false - def syn + def sync block = Proc.new do | master,client | puts "syncing content for #{File.basename(master)}" FileUtils.cp_r "#{master}/content/", - "#{client}/content/" + "#{client}/" end @name ? presentation(@name.sub(' ','_'),&block) : each_presentation(&block) if git_repository? - puts 'syncing wiht git...' + puts 'syncing with git...' add_to_git end end end \ No newline at end of file