Skip to content

Commit

Permalink
💠 [Bug] [pa] program stops printing todo lists and exit when a todo l…
Browse files Browse the repository at this point in the history
…ist is empty
  • Loading branch information
SkwalExe committed Mar 22, 2022
1 parent a295279 commit 484fea2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion dtodo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ function printTodoList() { # Prints the specified (first argument passed to the

if [[ -z ${content// } ]]; then # the // is to remove trailing spaces
printf "${blue}[ i ] : The daily todo list is empty \n"
exit 1;
else
printf "\n${blue}$content\n"
fi
Expand Down

0 comments on commit 484fea2

Please sign in to comment.