Skip to content

Commit

Permalink
update formatting on stdout
Browse files Browse the repository at this point in the history
  • Loading branch information
rdk committed Jul 19, 2023
1 parent 32c252e commit 94b7489
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/main/groovy/cz/siret/prank/program/Main.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -451,9 +451,7 @@ class Main implements Parametrized, Writable {
return
}

write "----------------------------------------------------------------------------------------------"
write " $versionName"
write "----------------------------------------------------------------------------------------------"
write "$versionName"
write ""

boolean error = false
Expand Down Expand Up @@ -491,9 +489,7 @@ class Main implements Parametrized, Writable {
}

write ""
write "----------------------------------------------------------------------------------------------"
write " finished ${error?"with ERROR":"successfully"} in $timer.formatted"
write "----------------------------------------------------------------------------------------------"
write "Finished ${error?"with ERROR":"successfully"} in ${timer.formatted}."

if (error) {
System.exit(1)
Expand Down

0 comments on commit 94b7489

Please sign in to comment.