From 9fae7124be8588e0adc395c3426697c319789c74 Mon Sep 17 00:00:00 2001 From: Alexander Popov Date: Sat, 21 May 2022 00:07:33 +0300 Subject: [PATCH] fix "finded records" for all query --- HISTORY.md | 1 + src/pmng.cr | 11 ++++++----- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/HISTORY.md b/HISTORY.md index 6f36841..137c24b 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -7,6 +7,7 @@ - ♻️ - Edited ## 0.2.4 - [02/05/2022] +- ✔️ - Fixed output finding records for all queryes ## 0.2.3 - [02/05/2022] - ♻️ - Password outdated date change to 3 month diff --git a/src/pmng.cr b/src/pmng.cr index 3460a47..c9a0f43 100644 --- a/src/pmng.cr +++ b/src/pmng.cr @@ -192,14 +192,15 @@ while loop passwords_finded_array += 1 end end + + puts + print "Finded ".colorize(:yellow).mode(:bold) + print passwords_finded_array.colorize(:red).mode(:bold) + puts " records".colorize(:yellow).mode(:bold) + puts "-----".colorize(:dark_gray).mode(:bold) end puts - print "Finded ".colorize(:yellow).mode(:bold) - print passwords_finded_array.colorize(:red).mode(:bold) - puts " records".colorize(:yellow).mode(:bold) - puts "-----".colorize(:dark_gray).mode(:bold) - puts end system "clear"