From f8b739ac4dc2e99000a73e35f1f42b0c4f1f2760 Mon Sep 17 00:00:00 2001 From: Sasha Koshka Date: Wed, 11 Dec 2024 02:43:46 -0500 Subject: [PATCH] cmd/step: Fix calls to template parsing/loading functions --- cmd/step/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/step/main.go b/cmd/step/main.go index 291346f..89d1165 100644 --- a/cmd/step/main.go +++ b/cmd/step/main.go @@ -38,9 +38,9 @@ func main () { // load and execute the document var document *step.Document if len(cmd.Args) > 0 { - document, err = environment.Parse(cmd.Args[0]) + document, err = environment.Load(cmd.Args[0]) } else { - document, err = environment.ParseReader(".", os.Stdin) + document, err = environment.Parse(".", os.Stdin) } handleErr(cmd, err) if flagMetadata.Value == "true" {