From 0c3b28657c30071aeacb58a7e462106cdc9fb638 Mon Sep 17 00:00:00 2001 From: petetnt Date: Thu, 29 Sep 2016 22:47:03 +0300 Subject: [PATCH] Handle an edge case where an filetree item is an MacOS folder icon Signed-off-by: petetnt --- src/project/ProjectModel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/project/ProjectModel.js b/src/project/ProjectModel.js index a066909c307..809d175d73b 100644 --- a/src/project/ProjectModel.js +++ b/src/project/ProjectModel.js @@ -56,7 +56,7 @@ define(function (require, exports, module) { * https://github.com/adobe/brackets/issues/6781 * @type {RegExp} */ - var _exclusionListRegEx = /\.pyc$|^\.git$|^\.gitmodules$|^\.svn$|^\.DS_Store$|^Thumbs\.db$|^\.hg$|^CVS$|^\.hgtags$|^\.idea$|^\.c9revisions$|^\.SyncArchive$|^\.SyncID$|^\.SyncIgnore$|\~$/; + var _exclusionListRegEx = /\.pyc$|^\.git$|^\.gitmodules$|^\.svn$|^\.DS_Store$|^Icon\r|^Thumbs\.db$|^\.hg$|^CVS$|^\.hgtags$|^\.idea$|^\.c9revisions$|^\.SyncArchive$|^\.SyncID$|^\.SyncIgnore$|\~$/; /** * Glob definition of files and folders that should be excluded directly