post-processor except: don't match empty names

This commit is contained in:
Adrien Delorme 2019-02-20 11:07:18 +01:00
parent 7e2d86731e
commit 0f7065f6b1
1 changed files with 1 additions and 1 deletions

View File

@ -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
}
}