From 3d56f8ac80c39ea1572391bab180adc0334cd630 Mon Sep 17 00:00:00 2001 From: nywilken Date: Tue, 17 Dec 2019 15:27:51 -0500 Subject: [PATCH] command/build: Fix URL to HCL2 syntax guide * small typo fixes --- command/build.go | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/command/build.go b/command/build.go index d7bedb91e..74fbd8445 100644 --- a/command/build.go +++ b/command/build.go @@ -129,7 +129,7 @@ func (c *BuildCommand) GetBuilds(path string) ([]packer.Build, int) { isHCLLoaded, err := isHCLLoaded(path) if path != "-" && err != nil { - c.Ui.Error(fmt.Sprintf("Could not tell wether %s is hcl enabled: %s", path, err)) + c.Ui.Error(fmt.Sprintf("could not tell whether %s is hcl enabled: %s", path, err)) return nil, 1 } if isHCLLoaded { @@ -137,9 +137,10 @@ func (c *BuildCommand) GetBuilds(path string) ([]packer.Build, int) { } c.Ui.Say(`Legacy JSON Configuration Will Be Used. -The template will be parsed in the legacy configuration style. This style -Will continue to work but users are encouraged to move to the new style, -See: https://packer.io/guides/hcl2 .`) +The template will be parsed in the legacy configuration style. This style +will continue to work but users are encouraged to move to the new style. +See: https://packer.io/guides/hcl +`) // Parse the template var tpl *template.Template