1
0
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:
Joe Conigliaro 2022-06-29 19:09:36 +10:00
parent f8461e2b3c
commit 5462f06d6c
No known key found for this signature in database
GPG Key ID: C12F7136C08206F1

View File

@ -91,7 +91,7 @@ fn (mut b Builder) run_compiled_executable_and_exit() {
} else if b.pref.backend == .golang {
go_basename := $if windows { 'go.exe' } $else { 'go' }
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 {
compiled_file