Skip to content

Commit 06e2e67

Browse files
committed
fix lint
1 parent 5ffd13b commit 06e2e67

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

lib/commands/file-movement.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import _ from 'lodash';
2-
import path from 'path';
2+
import path from 'node:path';
33
import { errors } from 'appium/driver';
44
import { fs, mkdirp, util, zip } from 'appium/support';
55
import { MODIFY_FS_FEATURE } from '../constants';

lib/commands/powershell.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import _ from 'lodash';
22
import { fs, tempDir } from 'appium/support';
33
import { exec } from 'teen_process';
4-
import path from 'path';
4+
import path from 'node:path';
55
import B from 'bluebird';
66

77
const EXECUTION_POLICY = {

lib/installer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import _ from 'lodash';
22
import { fs, tempDir } from 'appium/support';
3-
import path from 'path';
3+
import path from 'node:path';
44
import { exec } from 'teen_process';
55
import { log } from './logger';
66
import { queryRegistry, type RegEntry } from './registry';

lib/winappdriver.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { JWProxy, errors } from 'appium/driver';
66
import { SubProcess } from 'teen_process';
77
import { getWADExecutablePath } from './installer';
88
import { waitForCondition } from 'asyncbox';
9-
import { execSync } from 'child_process';
9+
import { execSync } from 'node:child_process';
1010
import { util } from 'appium/support';
1111
import { findAPortNotInUse, checkPortStatus } from 'portscanner';
1212
import { desiredCapConstraints } from './desired-caps';
@@ -364,5 +364,5 @@ export type WindowsDriverCaps = {
364364
createSessionTimeout?: number;
365365
prerun?: {command?: string; script?: string};
366366
postrun?: {command?: string; script?: string};
367-
}
367+
};
368368

test/e2e/commands/file-movement-e2e-specs.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { remote as wdio } from 'webdriverio';
22
import type { Browser } from 'webdriverio';
3-
import path from 'path';
3+
import path from 'node:path';
44
import { tempDir, fs } from 'appium/support';
55
import { isAdmin } from '../../../lib/installer';
66
import { buildWdIoOptions } from '../helpers';

0 commit comments

Comments
 (0)