Skip to content

Commit 2076005

Browse files
committed
fix: import execSync in getPackageVersion.mjs script
1 parent d57017d commit 2076005

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/getPackageVersion.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { dirname, resolve } from 'node:path';
22
import { fileURLToPath } from 'node:url';
3+
import { execSync } from 'node:child_process';
34

45
// import.meta.dirname is not available before Node 20
56
const __dirname = dirname(fileURLToPath(import.meta.url));

0 commit comments

Comments
 (0)