From ffbaa3f2ce69768b431416be0946e90ae7925bbc Mon Sep 17 00:00:00 2001 From: Alex Pott <alex.a.pott@googlemail.com> Date: Wed, 16 Mar 2016 10:41:33 +0000 Subject: [PATCH] Issue #2664274 by alexpott, bojanz, fortis, Mile23, arknoll: Combination of --prefer-dist and .gitattributes confuses our vendor test cleanup --- core/lib/Drupal/Core/Composer/Composer.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/core/lib/Drupal/Core/Composer/Composer.php b/core/lib/Drupal/Core/Composer/Composer.php index 824d9353223f..cfc915508888 100644 --- a/core/lib/Drupal/Core/Composer/Composer.php +++ b/core/lib/Drupal/Core/Composer/Composer.php @@ -165,9 +165,6 @@ public static function vendorTestCodeCleanup(PackageEvent $event) { throw new \RuntimeException(sprintf("Failure removing directory '%s' in package '%s'.", $path, $package->getPrettyName())); } } - else { - throw new \RuntimeException(sprintf("The directory '%s' in package '%s' does not exist.", $path, $package->getPrettyName())); - } } } } -- GitLab