Skip to content

Commit ceaa5d2

Browse files
committed
tools: restore previous behavior of v download (show progress on stdout, when it is connected to an interactive terminal; hide log stdout->stderr notice)
1 parent 7549020 commit ceaa5d2

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎cmd/tools/vdownload.v‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ mut:
2323
const vexe = os.real_path(os.getenv_opt('VEXE') or { @VEXE })
2424

2525
fn main() {
26+
mut l := log.ThreadSafeLog{}
27+
l.set_output_stream(os.stdout())
28+
log.set_logger(l)
2629
mut ctx := Context{}
2730
mut fp := flag.new_flag_parser(os.args#[1..])
2831
fp.application(os.file_name(os.executable()))

0 commit comments

Comments
 (0)