update git commit
This commit is contained in:
@@ -107,12 +107,12 @@
|
|||||||
},
|
},
|
||||||
"git-check.ts": {
|
"git-check.ts": {
|
||||||
"script_name": "git-check.ts",
|
"script_name": "git-check.ts",
|
||||||
"script_length": 3040,
|
"script_length": 3107,
|
||||||
"script_sha256": "f03171ce3129c63f35d55c69fe7e8e5f085739ad56887810284716d1f1c95a27",
|
"script_sha256": "59eed22fad7b3a4f4ddb6c9c5ba6781771fbff6e0f7d30e869039ddc93f27d94",
|
||||||
"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": 1770553736989
|
"update_time": 1770566275385
|
||||||
},
|
},
|
||||||
"helloworld-bun.ts": {
|
"helloworld-bun.ts": {
|
||||||
"script_name": "helloworld-bun.ts",
|
"script_name": "helloworld-bun.ts",
|
||||||
|
|||||||
@@ -11,8 +11,11 @@ import {
|
|||||||
uint8ArrayToHexString,
|
uint8ArrayToHexString,
|
||||||
writeStringToFile,
|
writeStringToFile,
|
||||||
} from "https://script.hatter.ink/@35/deno-commons-mod.ts";
|
} from "https://script.hatter.ink/@35/deno-commons-mod.ts";
|
||||||
import {getGitLocalRev, getGitRemoteRev,} from "https://script.hatter.ink/@0/deno-git-mod.ts";
|
import {
|
||||||
import {parseArgs} from "jsr:@std/cli/parse-args";
|
getGitLocalRev,
|
||||||
|
getGitRemoteRev,
|
||||||
|
} from "https://script.hatter.ink/@0/deno-git-mod.ts";
|
||||||
|
import { parseArgs } from "jsr:@std/cli/parse-args";
|
||||||
|
|
||||||
const MILLIS_OF_HOUR = 60 * 60 * 1000;
|
const MILLIS_OF_HOUR = 60 * 60 * 1000;
|
||||||
|
|
||||||
@@ -39,6 +42,9 @@ async function main() {
|
|||||||
string: [
|
string: [
|
||||||
"interval",
|
"interval",
|
||||||
],
|
],
|
||||||
|
alias: {
|
||||||
|
i: "interval",
|
||||||
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
if (flags.help) {
|
if (flags.help) {
|
||||||
@@ -95,5 +101,5 @@ git-check.ts [--interval NUMBER-OF-HOURS]`);
|
|||||||
|
|
||||||
await main();
|
await main();
|
||||||
|
|
||||||
// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20260208T202755+08:00.MEQCID0gTH0EMJ32IuSwRD2G
|
// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20260208T235727+08:00.MEUCIQDm/E1d7mGqJ4nbguao
|
||||||
// WzpwUI7eCDHExlRBPmPizM49AiAJ0T2Haify9X26A2S9ve16kSHMI1SPYgoTbD1ho3b2Xw==
|
// +eFwlDMp/x7ZOWn95z2BSnIrfwIgJg0lHcBV8C2fQ5B/4Suvq7f9/f+M2CHrNn9CSzve4wA=
|
||||||
|
|||||||
Reference in New Issue
Block a user