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

+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();