1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-09 00:22:53 +00:00

Fix VcsRepositoryTest

This commit is contained in:
Nicolas Grekas 2020-10-08 11:04:39 +02:00
parent 23d42c6717
commit f9913205dd

View file

@ -42,8 +42,8 @@ class VcsRepositoryTest extends TestCase
return;
}
if (!@mkdir(self::$gitRepo) || !@chdir(self::$gitRepo)) {
$this->skipped = 'Could not create and move into the temp git repo '.self::$gitRepo;
if (!@chdir(self::$gitRepo)) {
$this->skipped = 'Could not move into the temp git repo '.self::$gitRepo;
return;
}