style: fix code style

Signed-off-by: Dominik Willner th33xitus@gmail.com
This commit is contained in:
th33xitus
2022-05-27 11:12:20 +02:00
parent 6f9d22fe80
commit 64a6ba462a
6 changed files with 11 additions and 10 deletions

View File

@@ -65,7 +65,7 @@ function rollback_component() {
local count
while true; do
read -p "${cyan}###### Revert this amount of commits:${white} " count
if [[ -n ${count} ]] && ((count > 0)); then
if [[ -n ${count} ]] && (( count > 0 )); then
status_msg "Revert ${component^} by ${count} commits ..."
cd "${HOME}/${component}"
if git reset --hard HEAD~"${count}"; then