@bensandee/forgejo-cli 0.3.0 → 0.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin.mjs +2 -2
- package/package.json +1 -1
package/dist/bin.mjs
CHANGED
|
@@ -245,7 +245,7 @@ function loadEnvFileForBin(rawArgs, bin, io = processIo) {
|
|
|
245
245
|
//#region src/version.ts
|
|
246
246
|
const parsed = z.object({ version: z.string() }).safeParse({
|
|
247
247
|
name: "@bensandee/forgejo-cli",
|
|
248
|
-
version: "0.3.
|
|
248
|
+
version: "0.3.2",
|
|
249
249
|
description: "bst-fj: Forgejo API commands without the rest of bst",
|
|
250
250
|
license: "MIT",
|
|
251
251
|
repository: {
|
|
@@ -4923,7 +4923,7 @@ async function refusalMessage(res) {
|
|
|
4923
4923
|
try {
|
|
4924
4924
|
const parsed = ErrorBodySchema.safeParse(JSON.parse(text));
|
|
4925
4925
|
if (parsed.success) return parsed.data.message;
|
|
4926
|
-
} catch {}
|
|
4926
|
+
} catch (_error) {}
|
|
4927
4927
|
return text;
|
|
4928
4928
|
}
|
|
4929
4929
|
/** Delete one branch. The name is encoded per segment so `feat/a/b` keeps its slashes. */
|