From 5fcdf8c3132376d6724700235c960c8133711f14 Mon Sep 17 00:00:00 2001 From: Michael Strong Date: Thu, 4 Aug 2016 22:54:34 +1200 Subject: [PATCH] FIX don't look in node_modules Its a scary place. And can sometimes take 5 minutes+ to get back out. --- filesystem/FileFinder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/filesystem/FileFinder.php b/filesystem/FileFinder.php index e50553ba1..66a3e9ce7 100644 --- a/filesystem/FileFinder.php +++ b/filesystem/FileFinder.php @@ -33,7 +33,7 @@ class SS_FileFinder { * @var array */ protected static $vcs_dirs = array( - '.git', '.svn', '.hg', '.bzr' + '.git', '.svn', '.hg', '.bzr', 'node_modules', ); /**