adminforth 2.4.0-next.29 → 2.4.0-next.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -312,7 +312,7 @@ async function installDependencies(ctx, cwd) {
|
|
|
312
312
|
const isWindows = process.platform === 'win32';
|
|
313
313
|
|
|
314
314
|
const nodeBinary = process.execPath;
|
|
315
|
-
const npmPath = path.join(path.dirname(nodeBinary), 'npm');
|
|
315
|
+
const npmPath = path.join(path.dirname(nodeBinary), isWindows ? 'npm.cmd' : 'npm');
|
|
316
316
|
const customDir = ctx.customDir;
|
|
317
317
|
if (isWindows) {
|
|
318
318
|
const res = await Promise.all([
|