chore: Enable "curly" rule to avoid single-statement if confusion/errors.

This commit is contained in:
cpojer
2026-01-31 16:19:20 +09:00
parent 009b16fab8
commit 5ceff756e1
1266 changed files with 27871 additions and 9393 deletions

View File

@@ -61,7 +61,9 @@ describe("exec PATH login shell merge", () => {
});
it("merges login-shell PATH for host=gateway", async () => {
if (isWin) return;
if (isWin) {
return;
}
process.env.PATH = "/usr/bin";
const { createExecTool } = await import("./bash-tools.exec.js");
@@ -79,7 +81,9 @@ describe("exec PATH login shell merge", () => {
});
it("skips login-shell PATH when env.PATH is provided", async () => {
if (isWin) return;
if (isWin) {
return;
}
process.env.PATH = "/usr/bin";
const { createExecTool } = await import("./bash-tools.exec.js");