Skip to content

Commit 6261779

Browse files
committed
[Finder] disable the BSD find adapter on the Mac as it does not work yet (refs symfony#6412)
1 parent 6c43e2e commit 6261779

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Symfony/Component/Finder/Adapter/BsdFindAdapter.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ public function getName()
3434
*/
3535
protected function canBeUsed()
3636
{
37-
return in_array($this->shell->getType(), array(Shell::TYPE_BSD, Shell::TYPE_DARWIN)) && parent::canBeUsed();
37+
// FIXME: this adapter does not work yet with Shell::TYPE_DARWIN
38+
return in_array($this->shell->getType(), array(Shell::TYPE_BSD)) && parent::canBeUsed();
3839
}
3940

4041
/**

0 commit comments

Comments
 (0)