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 94e2748 commit 9719cb5Copy full SHA for 9719cb5
lib/helpers.js
@@ -7,7 +7,7 @@ import { fs, system } from 'appium/support';
7
*/
8
export async function isWriteable(filePath) {
9
try {
10
- await fs.access(filePath, fs.W_OK);
+ await fs.access(filePath, fs.constants.W_OK);
11
if (system.isWindows()) {
12
// On operating systems, where access-control policies may
13
// limit access to the file system, `fs.access` does not work
0 commit comments