mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-01-29 00:35:38 +08:00
refactor: improve code formatting and readability in autobuild and telegram scripts
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user