-
-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow to configure the writer to something other than stdout #30
Comments
Today I'm going to release a new version to support stderr. |
Landed on v1.5.0 Line 9 in 45e626d
|
Initially, I was using
As a result, I released version 1.4.1 (Remove deprecated writeAllSync, Use WritableStream instead). However, today I found that both I believe Loaded on |
I forgot to change the version in the deno.json, so I force pushed the changes again, and it's working fine now. |
Nice ! Thanks a lot for being so quick ! |
Works as expected, thanks again ! |
It seems like currently it's hardcoded to stdout:
progress/mod.ts
Line 57 in bcc5d0d
But it'd be nice to be able to set it to stderr too
The reasoning is that for cli, it's not uncommon to depends on stdout returns when using the shell syntax (like
$()
), but currently this messes the outputdeno --allow-run=$(deno task install-and-return-path) run mod.ts
Kind similar behavior like curl/wget uses for progress bar.
Actually it may be a better default to use stderr, but it may be a breaking change
The text was updated successfully, but these errors were encountered: