Skip to content

Commit dde2d1d

Browse files
committed
Fix imports
1 parent 713a267 commit dde2d1d

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

packages/kbn-test/src/functional_test_runner/functional_test_runner.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
* in compliance with, at your election, the Elastic License 2.0 or the Server
66
* Side Public License, v 1.
77
*/
8+
import { relative } from 'path';
89

910
import { ToolingLog } from '@kbn/dev-utils';
1011

@@ -121,7 +122,7 @@ export class FunctionalTestRunner {
121122
}
122123

123124
// eslint-disable-next-line
124-
console.log(`--- Running ${Path.relative(process.cwd(), this.configFile)}`);
125+
console.log(`--- Running ${relative(process.cwd(), this.configFile)}`);
125126

126127
const dockerServers = new DockerServersService(
127128
config.get('dockerServers'),

packages/kbn-test/src/functional_tests/tasks.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ export async function runTests(options) {
8888
continue;
8989
}
9090

91-
console.log(`--- Running ${Path.relative(process.cwd(), configPath)}`);
91+
console.log(`--- Running ${relative(process.cwd(), configPath)}`);
9292

9393
await withProcRunner(log, async (procs) => {
9494
const config = await readConfigFile(log, configPath);

0 commit comments

Comments
 (0)