mirror of
https://github.com/composer/composer
synced 2025-05-11 01:22:54 +00:00
Suppress warnings on touch() failures of the vendor dir, refs #4070
This commit is contained in:
parent
2f69faf252
commit
a979cc78ed
1 changed files with 3 additions and 1 deletions
|
@ -344,7 +344,9 @@ class Installer
|
|||
|
||||
$vendorDir = $this->config->get('vendor-dir');
|
||||
if (is_dir($vendorDir)) {
|
||||
touch($vendorDir);
|
||||
// suppress errors as this fails sometimes on OSX for no apparent reason
|
||||
// see https://github.com/composer/composer/issues/4070#issuecomment-129792748
|
||||
@touch($vendorDir);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue