From 124ead96356b29e221ff3f6ca7d1368b87a2718e Mon Sep 17 00:00:00 2001 From: Filip Gschwandtner Date: Wed, 18 Oct 2023 22:40:27 +0200 Subject: [PATCH] fixed suggestion in swctl error about dependencies installation Signed-off-by: Filip Gschwandtner --- cmd/swctl/app/exec.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd/swctl/app/exec.go b/cmd/swctl/app/exec.go index 19dd949..f519894 100644 --- a/cmd/swctl/app/exec.go +++ b/cmd/swctl/app/exec.go @@ -42,7 +42,8 @@ func (ee externalExe) validateUsability(cli *CLI) error { if messageOverride, found := cli.customizations[MissingExternalToolMessageKey]; found { return fmt.Errorf(messageOverride.(string), ee.installPath()) } - return fmt.Errorf("%s is not installed, try running `swctl install-tools`", ee.installPath()) + return fmt.Errorf("%s is not installed, try running "+ + "`swctl dependency install-tools`", ee.installPath()) } return fmt.Errorf("existence of %s could not be determined due to %w", ee.installPath(), err) }