We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1ab988 commit eea58d2Copy full SHA for eea58d2
1 file changed
src/learn.sh
@@ -127,7 +127,7 @@ function bashunit::learn::show_progress() {
127
for i in $(seq 1 $total_lessons); do
128
if bashunit::learn::is_completed "lesson_$i"; then
129
echo " ${_BASHUNIT_COLOR_PASSED}✓${_BASHUNIT_COLOR_DEFAULT} Lesson $i completed"
130
- ((completed++))
+ ((completed++)) || true
131
else
132
echo " ${_BASHUNIT_COLOR_INCOMPLETE}○${_BASHUNIT_COLOR_DEFAULT} Lesson $i"
133
fi
0 commit comments