Skip to content

Commit

Permalink
Show error message for invalid distribution in use command
Browse files Browse the repository at this point in the history
  • Loading branch information
keizer619 committed Dec 9, 2019
1 parent c8da58d commit fe59e2a
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,8 @@ public static boolean use(PrintStream printStream, String distribution) {
printStream.println("Using " + distribution);
return true;
}
} else {
printStream.println(distribution + " does not exist");
}
} catch (IOException | URISyntaxException e) {
printStream.println("Cannot use " + distribution);
Expand Down

0 comments on commit fe59e2a

Please sign in to comment.