@react-native-windows/fs
Advanced tools
Comparing version 0.0.0-canary.1 to 0.0.0-canary.2
@@ -47,4 +47,4 @@ "use strict"; | ||
...promisifyImportedMethods(), | ||
exists: (path) => new Promise((resolve) => { | ||
graceful_fs_1.default.access(path, graceful_fs_1.default.constants.F_OK, (err) => err ? resolve(false) : resolve(true)); | ||
exists: (path) => new Promise(resolve => { | ||
graceful_fs_1.default.access(path, graceful_fs_1.default.constants.F_OK, err => err ? resolve(false) : resolve(true)); | ||
}), | ||
@@ -51,0 +51,0 @@ readJsonFile: async (path, options) => { |
{ | ||
"name": "@react-native-windows/fs", | ||
"description": "A minimal-dependency drop-in replacement to `fs` with changes for resiliency, promises, and convenience.", | ||
"version": "0.0.0-canary.1", | ||
"version": "0.0.0-canary.2", | ||
"license": "MIT", | ||
@@ -6,0 +6,0 @@ "scripts": { |
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
169060