mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
all: update repo to use the new error handling syntax (#8950)
This commit is contained in:
@@ -10,7 +10,7 @@ fn exec(path string) string {
|
||||
mut cmd := os.Command{
|
||||
path: path
|
||||
}
|
||||
cmd.start() or { panic(err) }
|
||||
cmd.start() or { panic(err.msg) }
|
||||
|
||||
for {
|
||||
line = cmd.read_line()
|
||||
|
||||
Reference in New Issue
Block a user