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

Add comment

This commit is contained in:
Chris Smith 2014-11-20 16:13:55 +00:00
parent 2e40f5f586
commit 0f9128a7d2

View file

@ -290,6 +290,7 @@ class InstallerTest extends TestCase
continue;
}
// Change paths like file://foobar to file:///path/to/fixtures
if (preg_match('{^file://[^/]}', $repo['url'])) {
$repo['url'] = "file://${fixturesDir}/" . substr($repo['url'], 7);
}