Skip to content

Commit 3cd403a

Browse files
committed
feat: Print cwd for codifySpawn commands
1 parent 1f73f03 commit 3cd403a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/codify-spawn.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export async function codifySpawn(
5050
): Promise<SpawnResult> {
5151
const throws = opts?.throws ?? true;
5252

53-
console.log(`Running command: ${cmd}`)
53+
console.log(`Running command: ${cmd}` + (opts?.cwd ? `(${opts?.cwd})` : ''))
5454

5555
try {
5656
// TODO: Need to benchmark the effects of using sh vs zsh for shell.

0 commit comments

Comments
 (0)