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 c94b772 commit 8afd31cCopy full SHA for 8afd31c
build-scripts/write-version-files.js
@@ -2,7 +2,8 @@ import { fileURLToPath } from 'node:url';
2
import path from 'path';
3
import { mkdir, writeFile } from 'node:fs/promises';
4
import util from 'util';
5
-const exec = util.promisify(require('child_process').exec);
+import { exec as _exec } from 'child_process';
6
+const exec = util.promisify(_exec);
7
8
const __dirname = path.dirname(fileURLToPath(import.meta.url));
9
0 commit comments