From 86e0a284d1aeac5cd4804394894e31a04999a86a Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Tue, 29 Mar 2022 21:45:05 +0200 Subject: [PATCH] wip #5195 @0.5 --- src/Document.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Document.php b/src/Document.php index 78d8e28..05c56b3 100644 --- a/src/Document.php +++ b/src/Document.php @@ -103,6 +103,7 @@ class Document } if ($this->pages <= 0) { + unlink($nfoFile); throw new \Exception(sprintf('Error running FWSTK %s', $infos)); } -- 2.39.5