Skip to content

Commit 23a215d

Browse files
committed
fix: add console log for npm command execution path to test on Windows
1 parent ca9aa9c commit 23a215d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adminforth/commands/createApp/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ async function installDependencies(ctx, cwd) {
289289

290290
const nodeBinary = process.execPath;
291291
const npmPath = path.join(path.dirname(nodeBinary), npmCmd);
292-
292+
console.log("npmPath",`${nodeBinary} ${npmPath} install`);
293293
const customDir = ctx.customDir;
294294
const res = await Promise.all([
295295
await execAsync(`${nodeBinary} ${npmPath} install`, { cwd, env: { PATH: process.env.PATH } }),

0 commit comments

Comments
 (0)