post-processor except: don't match empty names
This commit is contained in:
parent
7e2d86731e
commit
0f7065f6b1
|
@ -186,7 +186,7 @@ func (c *Core) Build(n string) (Build, error) {
|
|||
// -except skips post-processor & build
|
||||
foundExcept := false
|
||||
for _, except := range c.except {
|
||||
if except == rawP.Name {
|
||||
if except != "" && except == rawP.Name {
|
||||
foundExcept = true
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue