We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c5d222 commit 3f63857Copy full SHA for 3f63857
1 file changed
src/helpers/path-helper.js
@@ -97,7 +97,7 @@ module.exports = {
97
existsSync(pathToCheck) {
98
if (fs.accessSync) {
99
try {
100
- fs.accessSync(pathToCheck, fs.R_OK);
+ fs.accessSync(pathToCheck, fs.constants.R_OK);
101
return true;
102
} catch (e) {
103
return false;
0 commit comments