updates
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
import {execCommandAndStdout,} from "https://script.hatter.ink/@35/deno-commons-mod.ts";
|
import {execCommandAndStdout,} from "https://script.hatter.ink/@39/deno-commons-mod.ts";
|
||||||
import {existsSync} from "node:fs";
|
import {existsSync} from "node:fs";
|
||||||
|
|
||||||
export async function getGitRemoteRev(): Promise<string> {
|
export async function getGitRemoteRev(): Promise<string> {
|
||||||
|
|||||||
@@ -63,11 +63,11 @@
|
|||||||
"commit.ts": {
|
"commit.ts": {
|
||||||
"script_name": "commit.ts",
|
"script_name": "commit.ts",
|
||||||
"script_length": 2755,
|
"script_length": 2755,
|
||||||
"script_sha256": "945df29966d7e3b0ff92bf91902bef0c21b67768798b355ab39e31908cfb1e24",
|
"script_sha256": "ceb0915c81e38fdf02904a548ebf9cefe337bb7cf4d0a9510c95b83cd6d395fb",
|
||||||
"script_full_url": "https://git.hatter.ink/hatter/ts-scripts/raw/branch/main/single-scripts/commit.ts",
|
"script_full_url": "https://git.hatter.ink/hatter/ts-scripts/raw/branch/main/single-scripts/commit.ts",
|
||||||
"single_script_file": true,
|
"single_script_file": true,
|
||||||
"publish_time": 1769318306585,
|
"publish_time": 1769318306585,
|
||||||
"update_time": 1770554341059
|
"update_time": 1770820023006
|
||||||
},
|
},
|
||||||
"decode-uri-component.ts": {
|
"decode-uri-component.ts": {
|
||||||
"script_name": "decode-uri-component.ts",
|
"script_name": "decode-uri-component.ts",
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
import {createInterface} from "node:readline/promises";
|
import {createInterface} from "node:readline/promises";
|
||||||
import {stdin, stdout} from "node:process";
|
import {stdin, stdout} from "node:process";
|
||||||
import {execCommandShell, log, ProcessBar, term,} from "https://script.hatter.ink/@29/deno-commons-mod.ts";
|
import {execCommandShell, log, ProcessBar, term,} from "https://script.hatter.ink/@39/deno-commons-mod.ts";
|
||||||
import {getGitLocalRev, getGitRemoteRev, getGitStatus,} from "https://script.hatter.ink/@1/deno-git-mod.ts";
|
import {getGitLocalRev, getGitRemoteRev, getGitStatus,} from "https://script.hatter.ink/@2/deno-git-mod.ts";
|
||||||
|
|
||||||
async function checkRev(): Promise<boolean> {
|
async function checkRev(): Promise<boolean> {
|
||||||
const localRev = await getGitLocalRev();
|
const localRev = await getGitLocalRev();
|
||||||
@@ -76,5 +76,5 @@ main().catch((err) => {
|
|||||||
process.exit(0);
|
process.exit(0);
|
||||||
}).then(() => process.exit(0));
|
}).then(() => process.exit(0));
|
||||||
|
|
||||||
// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20260208T203801+08:00.MEUCIQDbILBDbvRCXYwDhr3Y
|
// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20260211T222644+08:00.MEUCIQDeEy/R3ZVM/5AY9eD8
|
||||||
// uNsmOqJ4CoCcjMb2ASeLBp2UhQIgGhmIedvslGsekl/w7G1sviwVr2G8EftSbd9YNDipMKA=
|
// m1nb8pL2i3GKiqHDs0YQom0muQIgSqAkWhL2jO4tLvm928X7wNRCEC9gpbcSw9/IxdPtoY4=
|
||||||
|
|||||||
Reference in New Issue
Block a user