You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello. I'd love it if there was an option to ensure the output printed in the terminal from commands executed have a newline automatically added if the output didn't end with one.
$.verbose=true;constcommit_message_summary=(await$`git log -1 --pretty=format:%s`).toString();console.log();// Fix newline not added from the previous commandconsole.log({ commit_message_summary });
Right now I have a ton of these scattered in my scripts:
console.log();// Fix newline not added from the previous command
I think this is something that zx could probably handle automatically.
Specifications
Version: 8.0.1
Platform: macOS 14.4.1
The text was updated successfully, but these errors were encountered:
@Anonymous961 You need to turn on verbose mode in v8 and later.
$.verbose = true;
Doing so causes zx to automatically print all the $ shell commands, and their output. Kinda like setting set -x in bash. It used to be the default before v8.
Hello. I'd love it if there was an option to ensure the output printed in the terminal from commands executed have a newline automatically added if the output didn't end with one.
Basically I have this:
Expected Behavior
I would like the output to be this:
Actual Behavior
This is the actual output:
Workaround
Right now I have a ton of these scattered in my scripts:
I think this is something that
zx
could probably handle automatically.Specifications
The text was updated successfully, but these errors were encountered: