refactor: improve code formatting and readability in autobuild and telegram scripts

This commit is contained in:
Tunglies
2025-08-21 21:23:38 +08:00
parent 435318cf1d
commit 2277d7232e
3 changed files with 48 additions and 23 deletions

View File

@@ -53,7 +53,9 @@ function getGitShortCommit() {
*/
function getLatestTauriCommit() {
try {
const fullHash = execSync("bash ./scripts-workflow/get_latest_tauri_commit.bash")
const fullHash = execSync(
"bash ./scripts-workflow/get_latest_tauri_commit.bash",
)
.toString()
.trim();
return execSync(`git rev-parse --short ${fullHash}`).toString().trim();