From fed060af31d295628fc59c36c4ab6d788add9674 Mon Sep 17 00:00:00 2001 From: Sean Fridman Date: Sat, 6 Oct 2012 01:47:03 -0700 Subject: [PATCH] Added VIM temp files to commonly ignored files --- out/lib/paths.js | 2 +- src/lib/paths.coffee | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/out/lib/paths.js b/out/lib/paths.js index e1424b0..96b6bef 100644 --- a/out/lib/paths.js +++ b/out/lib/paths.js @@ -323,7 +323,7 @@ }); return this; }, - commonIgnorePatterns: /^(\~|(\.(svn|git|hg|DS_Store))|node_modules|CVS|thumbs\.db|desktop\.ini)$/i, + commonIgnorePatterns: /^(\~|(\.(svn|git|hg|DS_Store))|node_modules|CVS|thumbs\.db|desktop\.ini|.+\.swp)$/i, scandir: function() { var args, err, list, options, tasks, tree, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8; args = 1 <= arguments.length ? __slice.call(arguments, 0) : []; diff --git a/src/lib/paths.coffee b/src/lib/paths.coffee index 0c61c0a..9845fc0 100755 --- a/src/lib/paths.coffee +++ b/src/lib/paths.coffee @@ -446,7 +446,7 @@ balUtilPaths = # Common Ignore Patterns # These are files are directories commonly ignored when it comes with dealing with paths - commonIgnorePatterns: /^(\~|(\.(svn|git|hg|DS_Store))|node_modules|CVS|thumbs\.db|desktop\.ini)$/i + commonIgnorePatterns: /^(\~|(\.(svn|git|hg|DS_Store))|node_modules|CVS|thumbs\.db|desktop\.ini|.+\.swp)$/i # Recursively scan a directory # Usage: @@ -989,4 +989,4 @@ balUtilPaths = # ===================================== # Export -module.exports = balUtilPaths \ No newline at end of file +module.exports = balUtilPaths