fix: support empty args with --post-renderer-args

Signed-off-by: guofutan <guofutan@tencent.com>
pull/10514/head
guofutan 3 years ago
parent 04e79e936d
commit 1a7a73b47b

@ -164,10 +164,8 @@ func (p *postRendererArgsSlice) Type() string {
}
func (p *postRendererArgsSlice) Set(val string) error {
if val == "" {
return nil
}
// a post-renderer defined by a user may accept empty arguments
p.options.args = append(p.options.args, val)
if p.options.binaryPath == "" {

Loading…
Cancel
Save