feat: clarify intended usage of deno tasks/scripts (#1589)

This commit is contained in:
uncenter authored and GitHub committed 2025-01-22 13:51:50 -05:00
1 parent bc3dd70fff
commit c9bc550c03
6 files changed
+18 -11

No files matched your search

+1 -1
View File
@@ -9,7 +9,7 @@ const args = parseArgs(Deno.args, { boolean: ["all"] });
if (!Deno.env.get("CI") && !args.all) {
throw new Error(
"This script is intended to be used in CI. Userstyle versions are automatically bumped after pull requests are merged.",
"This script should only be used in CI. Userstyle versions are automatically bumped after pull requests are merged.",
);
}
+6
View File
@@ -12,6 +12,12 @@ import {
getUserstylesTeamMembers,
} from "@/utils.ts";
if (!Deno.env.get("CI")) {
throw new Error(
"This script should only be used in CI. Generated READMEs and other health files are automatically updated after pull requests are merged.",
);
}
const userstylesData = getUserstylesData();
const portsData = await getPortsData();