Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
benallfree committed Apr 24, 2024
1 parent 6ad67db commit 6be55ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion plop/commands/testCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export function testCommand(plop: NodePlopAPI) {

exec('npm prefix -g'),

exec(`echo $Env:PATH`, { shell: true }),
exec(`echo $Env:PATH`),

exec(`dir D:\\a\\gobot\\.gobot-test-cache\\npm`),

Expand Down
1 change: 1 addition & 0 deletions plop/commands/util/exec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ export const exec: typeof spawn = async (cmd, _options, onProc) => {
..._options?.env,
},
}
console.log(process.env.PATH)
const code = await spawn(cmd, options, onProc)
return code
}

0 comments on commit 6be55ac

Please sign in to comment.