projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Patched to Drupal 8.4.8 level. See https://www.drupal.org/sa-core-2018-004 and patch...
[yaffs-website]
/
vendor
/
drush
/
drush
/
includes
/
filesystem.inc
diff --git
a/vendor/drush/drush/includes/filesystem.inc
b/vendor/drush/drush/includes/filesystem.inc
index 14bf055c1cef30bd6d5f69864991caaa34bd007f..0d0f49935a62cce5313d00c35341cd0bf5f85fe3 100644
(file)
--- a/
vendor/drush/drush/includes/filesystem.inc
+++ b/
vendor/drush/drush/includes/filesystem.inc
@@
-680,7
+680,7
@@
function drush_scan_directory($dir, $mask, $nomask = array('.', '..', 'CVS'), $c
$files = array();
// Exclude Bower and Node directories.
$files = array();
// Exclude Bower and Node directories.
- $nomask = array_merge($nomask,
array('node_modules', 'bower_components'
));
+ $nomask = array_merge($nomask,
drush_get_option_list('ignored-directories', array('node_modules', 'bower_components')
));
if (is_string($dir) && is_dir($dir) && $handle = opendir($dir)) {
while (FALSE !== ($file = readdir($handle))) {
if (is_string($dir) && is_dir($dir) && $handle = opendir($dir)) {
while (FALSE !== ($file = readdir($handle))) {