Skip to content

Commit

Permalink
Fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan1604 committed Nov 7, 2023
1 parent 932b6e9 commit 700392d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public BudgetCommand(RawCommand rawCommand) throws FinancialPlannerException {
if (rawCommand.args.isEmpty()) {
throw new FinancialPlannerException("Budget operation cannot be empty.");
}
command = rawCommand.args.get(0);
command = String.join(" ", rawCommand.args).trim();
if (command.equals("delete") || command.equals("reset") || command.equals("view")) {
return;
}
Expand Down

0 comments on commit 700392d

Please sign in to comment.