From 62bc8e9b6ab5b39e6cb420d40ae2b02ea0c9bc30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20FIDRY?= Date: Sun, 8 Oct 2023 22:52:40 +0200 Subject: [PATCH] fix: Fix the GNU diff command --- src/Phar/PharDiff.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Phar/PharDiff.php b/src/Phar/PharDiff.php index a0b823258..fd705f9be 100644 --- a/src/Phar/PharDiff.php +++ b/src/Phar/PharDiff.php @@ -14,6 +14,7 @@ namespace KevinGH\Box\Phar; +use KevinGH\Box\Console\Command\Extract; use KevinGH\Box\Pharaoh\PharDiff as ParagoniePharDiff; use SplFileInfo; use Symfony\Component\Finder\Finder; @@ -71,7 +72,7 @@ public function gnuDiff(): ?string return self::getDiff( $this->pharInfoA, $this->pharInfoB, - 'diff', + 'diff --exclude='.Extract::PHAR_META_PATH, ); }