Comparing version 3.0.11 to 3.0.12
{ | ||
"name": "ignore", | ||
"version": "3.0.11", | ||
"version": "3.0.12", | ||
"description": "Ignore is a manager and filter for .gitignore rules.", | ||
@@ -5,0 +5,0 @@ "main": "./ignore.js", |
@@ -83,3 +83,8 @@ [![Build Status](https://travis-ci.org/kaelzhang/node-ignore.svg?branch=master)](https://travis-ci.org/kaelzhang/node-ignore) | ||
`pattern` could either be a line of ignore pattern or a string of multiple ignore patterns, which means we could just `ignore().add()` the content of a ignore file: | ||
```js | ||
ignore().add(fs.readFileSync(filenameOfGitignore).toString()).filter(filenames) | ||
``` | ||
### <strike>.addIgnoreFile(path)</strike> | ||
@@ -86,0 +91,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
16716
158