file-is-binary
Advanced tools
Comparing version 0.2.0 to 0.2.1
@@ -39,3 +39,3 @@ 'use strict'; | ||
file.isDirectory = function() { | ||
return file.stat.isDirectory(); | ||
return file.stat && file.stat.isDirectory(); | ||
} | ||
@@ -42,0 +42,0 @@ } |
{ | ||
"name": "file-is-binary", | ||
"description": "Returns true if a file is binary. Checks the actual contents, since extensions are not reliable. Basic wrapper for isbinaryfile to support vinyl files.", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"homepage": "https://github.com/jonschlinkert/file-is-binary", | ||
@@ -6,0 +6,0 @@ "author": "Jon Schlinkert (https://github.com/jonschlinkert)", |
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
6798