diff --git a/script-meta-v2.json b/script-meta-v2.json index bc3ba17..b8ac25e 100644 --- a/script-meta-v2.json +++ b/script-meta-v2.json @@ -98,12 +98,12 @@ }, "git-check.ts": { "script_name": "git-check.ts", - "script_length": 2773, - "script_sha256": "272c74107d4d92238061f78bcda49357fa2f9032939d39289fa223e58a41059f", + "script_length": 2711, + "script_sha256": "bc97f4da2ff8ef98494e06f918d14b9e0960ef57af4a732fae623121d2048cc9", "script_full_url": "https://git.hatter.ink/hatter/ts-scripts/raw/branch/main/single-scripts/git-check.ts", "single_script_file": true, "publish_time": 1770541896791, - "update_time": 1770541896791 + "update_time": 1770541975528 }, "helloworld-bun.ts": { "script_name": "helloworld-bun.ts", diff --git a/single-scripts/git-check.ts b/single-scripts/git-check.ts index 4da85af..701bf1b 100755 --- a/single-scripts/git-check.ts +++ b/single-scripts/git-check.ts @@ -2,18 +2,13 @@ import { execCommand, + formatHumanTime, log, ProcessBar, -} from "https://script.hatter.ink/@29/deno-commons-mod.ts"; -import { - getGitLocalRev, - getGitRemoteRev, -} from "https://script.hatter.ink/@0/deno-git-mod.ts"; -import { - formatHumanTime, readFileToString, writeStringToFile, -} from "../libraries/deno-commons-mod.ts"; +} from "https://script.hatter.ink/@29/deno-commons-mod.ts"; +import {getGitLocalRev, getGitRemoteRev,} from "https://script.hatter.ink/@0/deno-git-mod.ts"; async function sha256OfString(input: string): Promise { const data = new TextEncoder().encode(input); @@ -88,5 +83,5 @@ async function main() { await main(); -// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20260208T171132+08:00.MEQCIE+nwuOV0aljgeKyGzFE -// eSZrNDvMwRpta2s+C26F0PKHAiBdgS0xvwSjiVrl+82PtaSVsDnxJ8/AsAfb3D1t4fFaeA== +// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20260208T171251+08:00.MEYCIQDnT/2rcJlUvb/AWwc6 +// ZLFgkkxAO1csY0EjFGau6VqIqgIhAO6nEggx2Nt2SSdiXkCWl7xAjVTiQlYdTKKBoW6VcR4O