Skip to content

Commit

Permalink
fixed suggestion in swctl error about dependencies installation
Browse files Browse the repository at this point in the history
Signed-off-by: Filip Gschwandtner <[email protected]>
  • Loading branch information
fgschwan committed Oct 18, 2023
1 parent b9da83f commit 124ead9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/swctl/app/exec.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 124ead9

Please sign in to comment.