Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / consolidation / robo / src / Task / Base / loadShortcuts.php
diff --git a/vendor/consolidation/robo/src/Task/Base/loadShortcuts.php b/vendor/consolidation/robo/src/Task/Base/loadShortcuts.php
new file mode 100644 (file)
index 0000000..dba0af6
--- /dev/null
@@ -0,0 +1,17 @@
+<?php
+namespace Robo\Task\Base;
+
+trait loadShortcuts
+{
+    /**
+     * Executes shell command
+     *
+     * @param string|\Robo\Contract\CommandInterface $command
+     *
+     * @return \Robo\Result
+     */
+    protected function _exec($command)
+    {
+        return $this->taskExec($command)->run();
+    }
+}