Skip to content

Commit

Permalink
Renamed some variables to conform to camelCase convention
Browse files Browse the repository at this point in the history
  • Loading branch information
Kozova1 committed Jul 7, 2021
1 parent ac9994a commit cbf1e55
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/main/kotlin/net/vogman/mcdeploy/Main.kt
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,15 @@ fun File.overwrite(content: ByteArray) {
}

fun logErr(msg: String) {
val color_reset = "\u001B[0m"
val color_red = "\u001B[31m"
println("[${color_red}X${color_reset}] $msg")
val colorReset = "\u001B[0m"
val colorRed = "\u001B[31m"
println("[${colorRed}X${colorReset}] $msg")
}

fun logOk(msg: String) {
val color_reset = "\u001B[0m"
val color_green = "\u001B[32m"
println("[${color_green}${color_reset}] $msg")
val colorReset = "\u001B[0m"
val colorGreen = "\u001B[32m"
println("[${colorGreen}${colorReset}] $msg")
}

fun hash(bytes: ByteArray): String {
Expand Down

0 comments on commit cbf1e55

Please sign in to comment.