Skip to content
This repository has been archived by the owner on Oct 4, 2023. It is now read-only.

Commit

Permalink
Level 2 done
Browse files Browse the repository at this point in the history
  • Loading branch information
EthanTheGoondu committed Aug 19, 2020
1 parent 5c6be50 commit 2abe50e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/main/java/Duke.java
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,9 @@ private static void processInput() {
taskList.printList();
break;
default:
taskList.add(new Task(nextInput));
printWithLines("added: " + nextInput + "\n");
Task newTask = new Task(nextInput);
taskList.add(newTask);
printWithLines("added: " + newTask.toString() + "\n");
}
nextInput = input.nextLine();
}
Expand Down

0 comments on commit 2abe50e

Please sign in to comment.