Skip to content

Commit 6eaf7b2

Browse files
author
Erik Westrup
committed
fix
1 parent a12f834 commit 6eaf7b2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

go/porcelain/deploy.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -543,7 +543,9 @@ func (n *Netlify) uploadFile(ctx context.Context, d *models.Deploy, f *FileBundl
543543
sharedErr.mutex.Lock()
544544
sharedErr.err = operationError
545545
sharedErr.mutex.Unlock()
546-
} else if apiErr.Code()/100 == 4 {
546+
}
547+
548+
if apiErr.Code()/100 == 4 {
547549
return nil
548550
}
549551
}

0 commit comments

Comments
 (0)