From 5462f06d6ce32b80f6e4ec60e81a43ef9ab82271 Mon Sep 17 00:00:00 2001 From: Joe Conigliaro Date: Wed, 29 Jun 2022 19:09:36 +1000 Subject: [PATCH] gen.golang: correct error message --- vlib/v/builder/compile.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlib/v/builder/compile.v b/vlib/v/builder/compile.v index c21c2be4e2..828e397704 100644 --- a/vlib/v/builder/compile.v +++ b/vlib/v/builder/compile.v @@ -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