Skip to content
Browse files

Added VIM temp files to commonly ignored files

  • Loading branch information...
1 parent 0d61f11 commit fed060af31d295628fc59c36c4ab6d788add9674 @sfrdmn committed Oct 6, 2012
Showing with 3 additions and 3 deletions.
  1. +1 −1 out/lib/paths.js
  2. +2 −2 src/lib/paths.coffee
View
2 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) : [];
View
4 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
+module.exports = balUtilPaths

0 comments on commit fed060a

Please sign in to comment.
Something went wrong with that request. Please try again.