From 87e88dc8471d42b799a3111ecbf3bcbe7bf7ef5d Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Sat, 2 Nov 2013 23:09:58 -0500 Subject: [PATCH] command/build: get command passing --- command/build/command.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/command/build/command.go b/command/build/command.go index b0e387c04..1c0f7b2f1 100644 --- a/command/build/command.go +++ b/command/build/command.go @@ -113,7 +113,8 @@ func (c Command) Run(env packer.Environment, args []string) int { log.Printf("Preparing build: %s", b.Name()) b.SetDebug(cfgDebug) b.SetForce(cfgForce) - err := b.Prepare(userVars) + // TODO(mitchellh): Handle warnings + _, err := b.Prepare(userVars) if err != nil { env.Ui().Error(err.Error()) return 1