mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
v up: update os.chdir call to handle error (#11328)
This commit is contained in:
parent
e90a624738
commit
8a49a06201
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user