projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added the Search API Synonym module to deal specifically with licence and license...
[yaffs-website]
/
vendor
/
drupal
/
console-core
/
src
/
Utils
/
FileQueue.php
diff --git
a/vendor/drupal/console-core/src/Utils/FileQueue.php
b/vendor/drupal/console-core/src/Utils/FileQueue.php
index 1d60da3b089b556a2a660da3a0bacc1ccfc43777..445052cc80bb33a176622e8baa6b4ad7a00bd3e6 100644
(file)
--- a/
vendor/drupal/console-core/src/Utils/FileQueue.php
+++ b/
vendor/drupal/console-core/src/Utils/FileQueue.php
@@
-9,6
+9,7
@@
namespace Drupal\Console\Core\Utils;
/**
* Class FileQueue
/**
* Class FileQueue
+ *
* @package Drupal\Console\Core\Utils
*/
class FileQueue
* @package Drupal\Console\Core\Utils
*/
class FileQueue
@@
-18,11
+19,27
@@
class FileQueue
*/
private $files;
*/
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)
{
/**
* @param $file string
*/
public function addFile($file)
{
+ $file = str_replace($this->appRoot, '', $file);
$this->files[] = $file;
}
$this->files[] = $file;
}