Keep main's one-line guards where no rule needs braces
Check / check (pull_request) Successful in 37s

This commit is contained in:
Danny Kim
2026-10-17 18:52:49 +09:00
parent 3cbe4171ea
commit eba9b9c57c
4 changed files with 12 additions and 27 deletions
+1 -3
View File
@@ -5,9 +5,7 @@ import { prepareRuntime } from "./runtime.ts";
const env = (name: string): string => {
const value = process.env[name];
if (value === undefined || value === "") {
throw new Error(`${name} is not set`);
}
if (value === undefined || value === "") throw new Error(`${name} is not set`);
return value;
};