CB-11517 Allow .folder matches
authorJesse MacFadyen <purplecabbage@gmail.com>
Wed, 31 Aug 2016 00:48:27 +0000 (17:48 -0700)
committerJesse MacFadyen <purplecabbage@gmail.com>
Wed, 31 Aug 2016 00:48:27 +0000 (17:48 -0700)
src/FileUpdater.js

index a09f39c..540db76 100644 (file)
@@ -366,7 +366,7 @@ function mapDirectory(rootDir, subDir, include, exclude) {
 
     function matchGlobArray(path, globs) {
         for (var i in globs) {
-            if (minimatch(path, globs[i])) {
+            if (minimatch(path, globs[i], {dot:true})) {
                 return true;
             }
         }