mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
all: change optional to result of io (#16075)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
module os
|
||||
|
||||
pub fn open_uri(uri string) ? {
|
||||
pub fn open_uri(uri string) ! {
|
||||
mut vopen_uri_cmd := getenv('VOPEN_URI_CMD')
|
||||
if vopen_uri_cmd == '' {
|
||||
$if macos {
|
||||
|
||||
Reference in New Issue
Block a user