Comparing version 3.0.10 to 3.0.11
{ | ||
"name": "ignore", | ||
"version": "3.0.10", | ||
"version": "3.0.11", | ||
"description": "Ignore is a manager and filter for .gitignore rules.", | ||
@@ -5,0 +5,0 @@ "main": "./ignore.js", |
@@ -93,3 +93,5 @@ [![Build Status](https://travis-ci.org/kaelzhang/node-ignore.svg?branch=master)](https://travis-ci.org/kaelzhang/node-ignore) | ||
ignore().add(fs.readFileSync(filename)) | ||
if (fs.existsSync(filename)) { | ||
ignore().add(fs.readFileSync(filename).toString()) | ||
} | ||
``` | ||
@@ -96,0 +98,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
16460
153