From 8cdd9d77484f6f84a9c5174c4367841589320b5b Mon Sep 17 00:00:00 2001 From: Hatter Jiang Date: Sun, 25 Jan 2026 13:20:10 +0800 Subject: [PATCH] updates --- single-scripts/commit.ts | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/single-scripts/commit.ts b/single-scripts/commit.ts index e06e779..2ccd0eb 100755 --- a/single-scripts/commit.ts +++ b/single-scripts/commit.ts @@ -1,9 +1,9 @@ #!/usr/bin/env runts -- --runtime-bun -import { spawn } from "node:child_process"; -import { existsSync } from "node:fs"; -import { createInterface } from "node:readline/promises"; -import { stdin, stdout } from "node:process"; +import {spawn} from "node:child_process"; +import {existsSync} from "node:fs"; +import {createInterface} from "node:readline/promises"; +import {stdin, stdout} from "node:process"; class ProcessOutput { code: number; @@ -308,9 +308,9 @@ async function main() { gitCommitArgs.push("-m"); gitCommitArgs.push(message); - console.log("[COMMAND] Git command: ", "git", gitCommitArgs); + console.log(">>>>>", "Git command: ", ["git", gitCommitArgs]); await execCommandShell("git", gitCommitArgs); - console.log("[COMMAND] Git push"); + console.log(">>>>>", ["git", "push"]); await new ProcessBar("Git pushing").call(async (): Promise => { await execCommandShell("git", ["push"]); }); @@ -321,5 +321,5 @@ main().catch((err) => { process.exit(0); }).then(() => process.exit(0)); -// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20260125T131735+08:00.MEUCIHxEft36c8GHONGw4yAL -// dZV+AcXDaG8lwOL1rCeDJv5FAiEAhCnraPe+ajy38ifHzXm3rB321EVeNVTOBEQNNxXQSms= +// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20260125T132004+08:00.MEQCIE79f9fvVdB/ZPz7TaLz +// G5MQJfEKNXwMrnw/7otxla/cAiAw/MC/WJDEM1cwCiSAIWBQofsvSoRIfKYVpYx7koHmXA==