style: prettier pass

This commit is contained in:
wdawdwa committed 2026-08-22 18:06:37 +08:00
1 parent dcaa27db9a
commit 594592046b
8 files changed
+35 -25

No files matched your search

+8 -1
View File
@@ -9,7 +9,14 @@ import {
import { containsSecret, redactSecrets } from "../src/security/secrets.js";
test("protected basenames cover env files, agent configs, and deploy configs", () => {
for (const name of [".env", ".env.local", ".ENV", "AGENTS.MD", "opencode.json", "wrangler.toml"]) {
for (const name of [
".env",
".env.local",
".ENV",
"AGENTS.MD",
"opencode.json",
"wrangler.toml"
]) {
assert.equal(isProtectedBasename(name), true, `${name} should be protected`);
}
assert.equal(isProtectedBasename("environment.ts"), false);