Skip to content

Commit 9c33638

Browse files
fix: improve error message when dest-dir is not a directory (#34)
1 parent e77411a commit 9c33638

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

download.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ func runDownloadCommand(args []string, destDir string) {
4747
targetVersion := args[0]
4848
downloadPath := paths.New(destDir)
4949
if !downloadPath.IsDir() {
50-
feedback.Fatal(i18n.Tr("error: %s is not a directory", destDir), feedback.ErrBadArgument)
50+
feedback.Fatal(i18n.Tr("error: %s is not a directory. Please, select an existing directory.", destDir), feedback.ErrBadArgument)
5151
}
5252

5353
client := updater.NewClient()

0 commit comments

Comments
 (0)