We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8f32a73 + 451e282 commit 49f7a48Copy full SHA for 49f7a48
1 file changed
test/cgmd/cli.js
@@ -1,9 +1,8 @@
1
import { spawnSync } from 'node:child_process';
2
import { describe, it } from 'node:test';
3
-import { dirname, join } from 'node:path';
4
-import { fileURLToPath } from 'node:url';
+import { join } from 'node:path';
5
6
-const __dirname = dirname(fileURLToPath(import.meta.url));
+const __dirname = import.meta.dirname;
7
const CLI = join(__dirname, '../../bin/cgmd.js');
8
9
function runCLI(args) {
0 commit comments