fix: load STACK_NAME if not present
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
a8683dc38a
commit
84489495dc
@ -49,7 +49,9 @@ func (a App) StackName() string {
|
|||||||
if _, exists := a.Env["STACK_NAME"]; exists {
|
if _, exists := a.Env["STACK_NAME"]; exists {
|
||||||
return a.Env["STACK_NAME"]
|
return a.Env["STACK_NAME"]
|
||||||
}
|
}
|
||||||
return SanitiseAppName(a.Name)
|
stackName := SanitiseAppName(a.Name)
|
||||||
|
a.Env["STACK_NAME"] = stackName
|
||||||
|
return stackName
|
||||||
}
|
}
|
||||||
|
|
||||||
// SORTING TYPES
|
// SORTING TYPES
|
||||||
|
Loading…
x
Reference in New Issue
Block a user