fix nil point in compile cli command when secret not exists [CI SKIP]
This commit is contained in:
@@ -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)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user