Skip to content

Commit

Permalink
Update formatting for ListCommand
Browse files Browse the repository at this point in the history
Updated the formatting for message printed by
list command.
  • Loading branch information
dlimyy committed Sep 16, 2022
1 parent 01d8cee commit ce9c3ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/duke/command/ListCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public String execute(Ui ui, Storage storage, TaskList taskList,
CommandHistory commandHistory) {
MultiLineFormatter mFormatter = new MultiLineFormatter();
if (taskList.getSize() == 0) {
String message = "\t\t\t" + "No items are in the list";
String message = "No items are in the list";
mFormatter.add(message);
}
for (int i = 0; i < taskList.getSize(); i++) {
Expand Down

0 comments on commit ce9c3ac

Please sign in to comment.