can-write-to-dir
Advanced tools
Comparing version 1.1.0 to 1.1.1
# can-write-to-dir | ||
## 1.1.1 | ||
### Patch Changes | ||
- 33a7d64: canWriteToDir.sync() should not fail on EROFS error. | ||
## 1.1.0 | ||
@@ -4,0 +10,0 @@ |
@@ -28,3 +28,3 @@ 'use strict' | ||
} catch (err) { | ||
if (err.code === 'EACCES' || err.code === 'EPERM') { | ||
if (err.code === 'EACCES' || err.code === 'EPERM' || err.code === 'EROFS') { | ||
return false | ||
@@ -31,0 +31,0 @@ } |
{ | ||
"name": "can-write-to-dir", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Returns true if the current process has permission to write to the specified directory", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
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
3924