$({verbose: true}) vs .verbose(true) #1421
-
What's the mental model to understand why the two lines don't output the same thing? I expected them to have the same output. Thank you! |
Beta Was this translation helpful? Give feedback.
Answered by
antongolub
Jan 12, 2026
Replies: 1 comment
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
antongolub
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
$`echo hello`invokes the cmd immediately, then switches the log mode toverbose, after which it gets the output and prints it.$({ verbose: true })`echo hello`sets verbose mode first, so the cmd meta is also printed.