Comment and separate default options.
This commit is contained in:
parent
6cb77153d4
commit
c9d44ba5e7
1 changed files with 3 additions and 0 deletions
|
@ -17,8 +17,11 @@ module Middleman
|
|||
options = Options.new(options_hash)
|
||||
yield options if block_given?
|
||||
|
||||
# Default options for the rsync method.
|
||||
options.port ||= 22
|
||||
options.clean ||= false
|
||||
|
||||
# Default options for the git method.
|
||||
options.remote ||= "origin"
|
||||
options.branch ||= "gh-pages"
|
||||
|
||||
|
|
Loading…
Reference in a new issue