Permalink
Browse files

Make ignore files configurable

This allows applications to use custom ignore files, example use case
being deployment.

Ref nodejitsu/jitsu#83.
  • Loading branch information...
1 parent 1698ffd commit a958e43141483979776cbff2c9790a2fd87487a6 @mmalecki mmalecki committed with isaacs Oct 20, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 fstream-npm.js
View
@@ -16,9 +16,9 @@ function Packer (props) {
props = { path: props }
}
- props.ignoreFiles = [ ".npmignore",
- ".gitignore",
- "package.json" ]
+ props.ignoreFiles = props.ignoreFiles || [ ".npmignore",
+ ".gitignore",
+ "package.json" ]
Ignore.call(this, props)

0 comments on commit a958e43

Please sign in to comment.