Skip to content

Commit

Permalink
Fix checkstyle error
Browse files Browse the repository at this point in the history
  • Loading branch information
NereusWB922 committed Sep 10, 2023
1 parent 6d23cde commit ce8b433
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/corgi/parsers/CommandParser.java
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ private Command newAddDeadlineCommand(String[] inputs) throws InvalidCommandForm

private Command newAddEventCommand(String[] inputs) throws InvalidCommandFormatException {
String commandFormat = CommandType.EVENT.getCommandFormat();

if (inputs.length == 1) {
throw new InvalidCommandFormatException("No argument is provided!" + "\nFormat: "
+ commandFormat);
Expand Down

0 comments on commit ce8b433

Please sign in to comment.