We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8edfe87 commit be55b49Copy full SHA for be55b49
packages/cli/src/utils/dlx/spawn.mts
@@ -144,7 +144,9 @@ export async function spawnCoanaDlx(
144
data:
145
typeof spawnResult.stdout === 'string'
146
? spawnResult.stdout
147
- : spawnResult.stdout.toString(),
+ : spawnResult.stdout
148
+ ? spawnResult.stdout.toString()
149
+ : '',
150
}
151
152
@@ -175,7 +177,9 @@ export async function spawnCoanaDlx(
175
177
176
178
typeof output.stdout === 'string'
179
? output.stdout
- : output.stdout.toString(),
180
+ : output.stdout
181
+ ? output.stdout.toString()
182
183
184
} catch (e) {
185
const stderr = (e as any)?.stderr
0 commit comments