build: add the X option to the stack directive.
This commit is contained in:
parent
67c5181ba9
commit
f3094cc741
6 changed files with 30 additions and 8 deletions
|
|
@ -36,9 +36,9 @@ func (b Enforce) Apply(opt *Option, profile string) (string, error) {
|
|||
return profile, nil
|
||||
}
|
||||
flags = slices.Delete(flags, idx, idx+1)
|
||||
strFlags := "{"
|
||||
strFlags := "{\n"
|
||||
if len(flags) >= 1 {
|
||||
strFlags = " flags=(" + strings.Join(flags, ",") + ") {"
|
||||
strFlags = " flags=(" + strings.Join(flags, ",") + ") {\n"
|
||||
}
|
||||
|
||||
// Remove all flags definition, then set new flags
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue