Skip to content

Commit

Permalink
Update error type
Browse files Browse the repository at this point in the history
  • Loading branch information
hpmellema committed Jul 27, 2023
1 parent 9ba38e5 commit c36fc8d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ private void cloneTemplate(Path temp, ObjectNode smithyTemplatesNode, String tem
}
final Path dest = Paths.get(directory);
if (Files.exists(dest)) {
throw new CliException("Output directory `" + directory + "` already exists.");
throw new CliError("Output directory `" + directory + "` already exists.");
}

ObjectNode templatesNode = getTemplatesNode(smithyTemplatesNode);
Expand Down

0 comments on commit c36fc8d

Please sign in to comment.