update git check
This commit is contained in:
@@ -98,12 +98,12 @@
|
|||||||
},
|
},
|
||||||
"git-check.ts": {
|
"git-check.ts": {
|
||||||
"script_name": "git-check.ts",
|
"script_name": "git-check.ts",
|
||||||
"script_length": 2773,
|
"script_length": 2711,
|
||||||
"script_sha256": "272c74107d4d92238061f78bcda49357fa2f9032939d39289fa223e58a41059f",
|
"script_sha256": "bc97f4da2ff8ef98494e06f918d14b9e0960ef57af4a732fae623121d2048cc9",
|
||||||
"script_full_url": "https://git.hatter.ink/hatter/ts-scripts/raw/branch/main/single-scripts/git-check.ts",
|
"script_full_url": "https://git.hatter.ink/hatter/ts-scripts/raw/branch/main/single-scripts/git-check.ts",
|
||||||
"single_script_file": true,
|
"single_script_file": true,
|
||||||
"publish_time": 1770541896791,
|
"publish_time": 1770541896791,
|
||||||
"update_time": 1770541896791
|
"update_time": 1770541975528
|
||||||
},
|
},
|
||||||
"helloworld-bun.ts": {
|
"helloworld-bun.ts": {
|
||||||
"script_name": "helloworld-bun.ts",
|
"script_name": "helloworld-bun.ts",
|
||||||
|
|||||||
@@ -2,18 +2,13 @@
|
|||||||
|
|
||||||
import {
|
import {
|
||||||
execCommand,
|
execCommand,
|
||||||
|
formatHumanTime,
|
||||||
log,
|
log,
|
||||||
ProcessBar,
|
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,
|
readFileToString,
|
||||||
writeStringToFile,
|
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<string> {
|
async function sha256OfString(input: string): Promise<string> {
|
||||||
const data = new TextEncoder().encode(input);
|
const data = new TextEncoder().encode(input);
|
||||||
@@ -88,5 +83,5 @@ async function main() {
|
|||||||
|
|
||||||
await main();
|
await main();
|
||||||
|
|
||||||
// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20260208T171132+08:00.MEQCIE+nwuOV0aljgeKyGzFE
|
// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20260208T171251+08:00.MEYCIQDnT/2rcJlUvb/AWwc6
|
||||||
// eSZrNDvMwRpta2s+C26F0PKHAiBdgS0xvwSjiVrl+82PtaSVsDnxJ8/AsAfb3D1t4fFaeA==
|
// ZLFgkkxAO1csY0EjFGau6VqIqgIhAO6nEggx2Nt2SSdiXkCWl7xAjVTiQlYdTKKBoW6VcR4O
|
||||||
|
|||||||
Reference in New Issue
Block a user