From 8a49a062011f9194f6154d862919c09852731ed2 Mon Sep 17 00:00:00 2001 From: Steve Phillips Date: Sat, 28 Aug 2021 02:34:10 -0700 Subject: [PATCH] v up: update os.chdir call to handle error (#11328) --- cmd/tools/vup.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/tools/vup.v b/cmd/tools/vup.v index db6684a7a7..8c7e9605a5 100644 --- a/cmd/tools/vup.v +++ b/cmd/tools/vup.v @@ -26,7 +26,7 @@ fn new_app() App { fn main() { app := new_app() recompilation.must_be_enabled(app.vroot, 'Please install V from source, to use `v up` .') - os.chdir(app.vroot) + os.chdir(app.vroot) ? println('Updating V...') app.update_from_master() v_hash := version.githash(false)