Skip to content

Commit

Permalink
Fix bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
J-Y-Yan committed Nov 14, 2023
1 parent 1902d4b commit f9944ac
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 54 deletions.
51 changes: 0 additions & 51 deletions src/main/java/seedu/duke/commands/goal/AddGoalCommand.java

This file was deleted.

3 changes: 0 additions & 3 deletions src/main/java/seedu/duke/commands/goal/GoalCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import seedu.duke.commands.CommandResult;
import seedu.duke.data.GoalList;
import seedu.duke.data.exception.IncorrectFormatException;
import seedu.duke.data.exception.InvalidDateException;

import java.io.IOException;

Expand Down Expand Up @@ -36,8 +35,6 @@ public CommandResult execute() {
feedbackToUser = ife.getMessage();
} catch (NumberFormatException nfe) {
feedbackToUser = "Please input a valid number for calories.";
} catch (InvalidDateException ide) {
feedbackToUser = ide.getMessage();
} catch (IOException io) {
feedbackToUser = "Failed to save data. Please check the output file and restart the app.";
} catch (Exception e) {
Expand Down

0 comments on commit f9944ac

Please sign in to comment.