From 9466e54a6c330cd3db89d8c1dfe817e5188e125d Mon Sep 17 00:00:00 2001 From: Brad Rydzewski Date: Tue, 17 Nov 2020 15:42:16 -0500 Subject: [PATCH] fix nil point in compile cli command when secret not exists [CI SKIP] --- command/compile.go | 1 + 1 file changed, 1 insertion(+) diff --git a/command/compile.go b/command/compile.go index 6ce7956..01c5ec7 100644 --- a/command/compile.go +++ b/command/compile.go @@ -127,6 +127,7 @@ func (c *compileCommand) run(*kingpin.ParseContext) error { Repo: c.Repo, Stage: c.Stage, System: c.System, + Secret: secret.StaticVars(c.Secrets), } spec := comp.Compile(nocontext, args)