mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
gen.golang: correct error message
This commit is contained in:
parent
f8461e2b3c
commit
5462f06d6c
@ -91,7 +91,7 @@ fn (mut b Builder) run_compiled_executable_and_exit() {
|
|||||||
} else if b.pref.backend == .golang {
|
} else if b.pref.backend == .golang {
|
||||||
go_basename := $if windows { 'go.exe' } $else { 'go' }
|
go_basename := $if windows { 'go.exe' } $else { 'go' }
|
||||||
os.find_abs_path_of_executable(go_basename) or {
|
os.find_abs_path_of_executable(go_basename) or {
|
||||||
panic('Could not find `$go_basename` in system path. Do you have Node.js installed?')
|
panic('Could not find `$go_basename` in system path. Do you have Go installed?')
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
compiled_file
|
compiled_file
|
||||||
|
Loading…
Reference in New Issue
Block a user