Skip to content

Commit

Permalink
Add newline after sounds in queue/history counts
Browse files Browse the repository at this point in the history
  • Loading branch information
joelpurra committed Dec 12, 2017
1 parent 46f0240 commit ba256fe
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/np-doctor.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ displayMessage -n "Sounds in queue: "
if [[ -e "$configQueueFile" ]];
then
cat "$configQueueFile" | nullAsNewline wc -l | keepDigitsOnly
# NOTE: newline.
echo ""
else
displayMessage "(queue file missing, expected: '${configQueueFile}')"
fi
Expand All @@ -60,6 +62,8 @@ displayMessage -n "Sounds in history: "
if [[ -e "$configHistoryFile" ]];
then
cat "$configHistoryFile" | nullAsNewline wc -l | keepDigitsOnly
# NOTE: newline.
echo ""
else
displayMessage "(history file missing, expected: '${configHistoryFile}')"
fi

0 comments on commit ba256fe

Please sign in to comment.