Comment clarification

This commit is contained in:
Mitchell Hashimoto 2012-12-23 11:26:32 -08:00
parent 9f893534f1
commit 9f6b091575

View File

@ -75,9 +75,10 @@ module VagrantPlugins
@provisioners << VagrantConfigProvisioner.new(name, options, &block) @provisioners << VagrantConfigProvisioner.new(name, options, &block)
end end
# TODO: This argument should not be `nil` in the future. # This argument is nil only because the old style was deprecated and
# It is only defaulted to nil so that the deprecation error # we didn't want to break Vagrantfiles. This was never removed and
# can be properly shown. # since we've moved onto V2 configuration, we might as well keep this
# around forever.
def customize(command=nil) def customize(command=nil)
@customizations << command if command @customizations << command if command
end end