We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea26287 commit ea84c71Copy full SHA for ea84c71
packages/cmake-rn/src/cli.ts
@@ -228,9 +228,16 @@ program = program.action(
228
triplet,
229
platform,
230
async spawn(command: string, args: string[], cwd?: string) {
231
+ const outputPrefix = verbose ? chalk.dim(`[${triplet}] `) : undefined;
232
+ if (verbose) {
233
+ console.log(
234
+ `${outputPrefix}» ${command} ${args.map((arg) => chalk.dim(`${arg}`)).join(" ")}`,
235
+ cwd ? `(in ${chalk.dim(cwd)})` : "",
236
+ );
237
+ }
238
await spawn(command, args, {
239
outputMode: verbose ? "inherit" : "buffered",
- outputPrefix: verbose ? chalk.dim(`[${triplet}] `) : undefined,
240
+ outputPrefix,
241
cwd,
242
});
243
},
0 commit comments