Skip to content
Browse files

Merge pull request #4 from sfrdmn/ignore-swp

Added VIM temp files to commonly ignored files
  • Loading branch information...
2 parents 0d61f11 + fed060a commit e8726ed871c8fe04d8c3881c1903c0ad1642a272 @balupton committed
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 e8726ed

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