From 49bd242dc2ea028ff5031e9fea5125c4f00e3439 Mon Sep 17 00:00:00 2001 From: jshlbrd Date: Mon, 7 Oct 2024 08:44:59 -0700 Subject: [PATCH] chore: docs, style Updates --- cmd/substation/build.go | 2 +- cmd/substation/main.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/substation/build.go b/cmd/substation/build.go index 6bcb5104..1971a32e 100644 --- a/cmd/substation/build.go +++ b/cmd/substation/build.go @@ -35,7 +35,7 @@ and the current directory is used if no arg is provided.`, // Catches an edge case where the user is looking for help. if path == "help" { - fmt.Printf("warning: \"%s\" matched no files\n", path) + fmt.Printf("warning: %q matched no files\n", path) return nil } diff --git a/cmd/substation/main.go b/cmd/substation/main.go index 7b5ac2ec..34a91bd1 100644 --- a/cmd/substation/main.go +++ b/cmd/substation/main.go @@ -29,7 +29,7 @@ func init() { }) } -// buildFile returns JSON from a Jsonnet file. +// compileFile returns JSON from a Jsonnet file. func compileFile(f string, extVars map[string]string) (string, error) { vm := jsonnet.MakeVM() for k, v := range extVars {