Initial Drupal 11 with DDEV setup
This commit is contained in:
18
vendor/consolidation/robo/src/Task/Base/Shortcuts.php
vendored
Normal file
18
vendor/consolidation/robo/src/Task/Base/Shortcuts.php
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace Robo\Task\Base;
|
||||
|
||||
trait Shortcuts
|
||||
{
|
||||
/**
|
||||
* Executes shell command
|
||||
*
|
||||
* @param string|\Robo\Contract\CommandInterface $command
|
||||
*
|
||||
* @return \Robo\Result
|
||||
*/
|
||||
protected function _exec($command)
|
||||
{
|
||||
return $this->taskExec($command)->run();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user