tools: restore previous behavior of v download (show progress on stdout, when it is connected to an interactive terminal; hide log stdout->stderr notice)

This commit is contained in:
Delyan Angelov 2025-01-30 01:47:50 +02:00
parent 7549020d1f
commit ceaa5d2315
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED

View File

@ -23,6 +23,9 @@ mut:
const vexe = os.real_path(os.getenv_opt('VEXE') or { @VEXE })
fn main() {
mut l := log.ThreadSafeLog{}
l.set_output_stream(os.stdout())
log.set_logger(l)
mut ctx := Context{}
mut fp := flag.new_flag_parser(os.args#[1..])
fp.application(os.file_name(os.executable()))