Commit 4ddb4ab8 authored by Mitchell Hashimoto's avatar Mitchell Hashimoto

command/fix: log fixer to run

parent 64ecc5ca
......@@ -6,6 +6,7 @@ import (
"flag"
"fmt"
"github.com/mitchellh/packer/packer"
"log"
"os"
"strings"
)
......@@ -61,6 +62,7 @@ func (c Command) Run(env packer.Environment, args []string) int {
panic("fixer not found: " + name)
}
log.Printf("Running fixer: %s", name)
input, err = fixer.Fix(input)
if err != nil {
env.Ui().Error(fmt.Sprintf("Error fixing: %s", err))
......
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