fix nil point in compile cli command when secret not exists [CI SKIP]

This commit is contained in:
Brad Rydzewski
2020-11-17 15:42:16 -05:00
parent 2335394161
commit 9466e54a6c

View File

@@ -127,6 +127,7 @@ func (c *compileCommand) run(*kingpin.ParseContext) error {
Repo: c.Repo, Repo: c.Repo,
Stage: c.Stage, Stage: c.Stage,
System: c.System, System: c.System,
Secret: secret.StaticVars(c.Secrets),
} }
spec := comp.Compile(nocontext, args) spec := comp.Compile(nocontext, args)