Method: VMC::App::Sync#commit_changes
- Defined in:
- lib/vmc/cli/app/push/sync.rb
#commit_changes(app) ⇒ Object
25 26 27 28 29 30 31 32 33 34 35 36 37 |
# File 'lib/vmc/cli/app/push/sync.rb', line 25 def commit_changes(app) if app.changed? with_progress("Updating #{c(app.name, :name)}") do do app.update! end end end if input[:restart] && app.started? invoke :restart, :app => app end end |