From 949da4dc42b1551b4d687710b147f293e0129547 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kat=20March=C3=A1n?= Date: Wed, 7 Sep 2016 15:07:59 -0700 Subject: [PATCH] adding .orig files to ignores Ref: https://github.com/npm/npm/pull/13708 --- fstream-npm.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fstream-npm.js b/fstream-npm.js index 554b98f..6214666 100644 --- a/fstream-npm.js +++ b/fstream-npm.js @@ -150,7 +150,8 @@ Packer.prototype.applyIgnores = function (entry, partial, entryObj) { entry === '.npmrc' || entry.match(/^\..*\.swp$/) || entry === '.DS_Store' || - entry.match(/^\._/) + entry.match(/^\._/) || + entry.match(/^.*\.orig$/) ) { return false }