Skip to content

Commit

Permalink
format code
Browse files Browse the repository at this point in the history
  • Loading branch information
Asutorufa committed Jan 8, 2025
1 parent 9d0f608 commit 5384524
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ fun getVersionCode(): Int {
standardOutput = stdout
}
Integer.parseInt(stdout.toString().trim())
} catch (e: Exception) {
} catch (_: Exception) {
5
}
}
Expand All @@ -29,7 +29,7 @@ fun getVersionName(): String {
standardOutput = stdout
}
stdout.toString().trim()
} catch (e: Exception) {
} catch (_: Exception) {
(((Date().time / 1000) - 1451606400) / 10).toString()
}
}
Expand All @@ -42,7 +42,7 @@ fun getCommit(): String {
standardOutput = stdout
}
"-" + stdout.toString().trim()
} catch (e: Exception) {
} catch (_: Exception) {
""
}
}
Expand Down

0 comments on commit 5384524

Please sign in to comment.