Comparing version 3.0.1 to 3.0.2
@@ -312,5 +312,5 @@ const tar = require('tar-stream') | ||
fs.lstat(name, function (err, st) { | ||
if (err && err.code !== 'ENOENT') return cb(err) | ||
if (err || st.isDirectory()) return validate(fs, path.join(name, '..'), root, cb) | ||
cb(null, false) | ||
if (err && err.code === 'ENOENT') return validate(fs, path.join(name, '..'), root, cb) | ||
else if (err) return cb(err) | ||
cb(null, st.isDirectory()) | ||
}) | ||
@@ -317,0 +317,0 @@ } |
{ | ||
"name": "tar-fs", | ||
"version": "3.0.1", | ||
"version": "3.0.2", | ||
"description": "filesystem bindings for tar-stream", | ||
@@ -5,0 +5,0 @@ "dependencies": { |
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
16591