X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=vendor%2Fdrupal%2Fconsole-core%2Fsrc%2FUtils%2FFileQueue.php;fp=vendor%2Fdrupal%2Fconsole-core%2Fsrc%2FUtils%2FFileQueue.php;h=445052cc80bb33a176622e8baa6b4ad7a00bd3e6;hb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;hp=53fea32615c349ad7a7c5d99cd11d481006d2ae2;hpb=aea91e65e895364e460983b890e295aa5d5540a5;p=yaffs-website diff --git a/vendor/drupal/console-core/src/Utils/FileQueue.php b/vendor/drupal/console-core/src/Utils/FileQueue.php index 53fea3261..445052cc8 100644 --- a/vendor/drupal/console-core/src/Utils/FileQueue.php +++ b/vendor/drupal/console-core/src/Utils/FileQueue.php @@ -19,11 +19,27 @@ class FileQueue */ private $files; + /** + * @var string + */ + protected $appRoot; + + /** + * FileQueue constructor. + * + * @param string $appRoot + */ + public function __construct($appRoot) + { + $this->appRoot = $appRoot; + } + /** * @param $file string */ public function addFile($file) { + $file = str_replace($this->appRoot, '', $file); $this->files[] = $file; }