| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1381,7 +1381,7 @@ access(file, constants.W_OK, (err) => { | |||
| 1381 | 1381 | }); | |
| 1382 | 1382 | ||
| 1383 | 1383 | // Check if the file exists in the current directory, and if it is writable. | |
| 1384 | - access(file, constants.F_OK | fs.constants.W_OK, (err) => { | ||
| 1384 | + access(file, constants.F_OK | constants.W_OK, (err) => { | ||
| 1385 | 1385 | if (err) { | |
| 1386 | 1386 | console.error( | |
| 1387 | 1387 | `${file} ${err.code === 'ENOENT' ? 'does not exist' : 'is read-only'}`); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments