Commit 75b2fab7 authored by Mitchell Hashimoto's avatar Mitchell Hashimoto

command/build, command/validate: Setup proper components to avoid nil

parent 0ac538dc
......@@ -65,6 +65,7 @@ func (c Command) Run(env packer.Environment, args []string) int {
components := &packer.ComponentFinder{
Builder: env.Builder,
Hook: env.Hook,
PostProcessor: env.PostProcessor,
Provisioner: env.Provisioner,
}
......
......@@ -58,6 +58,7 @@ func (c Command) Run(env packer.Environment, args []string) int {
components := &packer.ComponentFinder{
Builder: env.Builder,
Hook: env.Hook,
PostProcessor: env.PostProcessor,
Provisioner: env.Provisioner,
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment