Skip to content

Commit

Permalink
Update Parser.java
Browse files Browse the repository at this point in the history
  • Loading branch information
nicktohzyu committed Sep 16, 2020
1 parent 29d63f0 commit d7274aa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/java/Parser.java
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,9 @@ String parse(String input) {
case "sort":
tasks.sort();
break;
case "bye":
System.exit(0);
break;
default:
throw new DukeException("I'm sorry, but I don't know what that means :-(");
}
Expand Down

0 comments on commit d7274aa

Please sign in to comment.