cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From purplecabb...@apache.org
Subject [1/3] cordova-lib git commit: CB-11517 Allow .folder matches
Date Fri, 02 Sep 2016 00:37:53 GMT
Repository: cordova-lib
Updated Branches:
  refs/heads/master 905429cf6 -> 7fcc8c4ae


CB-11517 Allow .folder matches


Project: http://git-wip-us.apache.org/repos/asf/cordova-lib/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-lib/commit/b4b17d0b
Tree: http://git-wip-us.apache.org/repos/asf/cordova-lib/tree/b4b17d0b
Diff: http://git-wip-us.apache.org/repos/asf/cordova-lib/diff/b4b17d0b

Branch: refs/heads/master
Commit: b4b17d0b127df4cb0f8ce8a910ae4b5c0da1a51d
Parents: 3b38b53
Author: Jesse MacFadyen <purplecabbage@gmail.com>
Authored: Tue Aug 30 17:48:27 2016 -0700
Committer: Jesse MacFadyen <purplecabbage@gmail.com>
Committed: Tue Aug 30 17:48:27 2016 -0700

----------------------------------------------------------------------
 cordova-common/src/FileUpdater.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/b4b17d0b/cordova-common/src/FileUpdater.js
----------------------------------------------------------------------
diff --git a/cordova-common/src/FileUpdater.js b/cordova-common/src/FileUpdater.js
index a09f39c..540db76 100644
--- a/cordova-common/src/FileUpdater.js
+++ b/cordova-common/src/FileUpdater.js
@@ -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;
             }
         }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message