Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
bump: patch
---

### Changed

- Sorted the setup scripts' node: imports and collapsed a wrapped ternary in check-prerequisite-resolution.mjs; no behavior change.
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
// node apply-prerequisite-resolution.mjs --repo <dir> --ratify --proposal <file>
// Exit 0 = report / write ok; 1 = failure.

import { readFileSync, writeFileSync, mkdirSync, statSync } from "node:fs";
import { dirname, join } from "node:path";
import { spawnSync } from "node:child_process";
import { mkdirSync, readFileSync, statSync, writeFileSync } from "node:fs";
import { dirname, join } from "node:path";
import process from "node:process";
import { fileURLToPath } from "node:url";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,7 @@ function main() {
}

const binding = loadBinding(repo);
const surfaces = surface
? [surface]
: [...surfaceIds(binding)];
const surfaces = surface ? [surface] : [...surfaceIds(binding)];
if (surfaces.length === 0) surfaces.push("unbound");

const reports = [];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
// autonomous-eligible rule per cell: the checker must reject the rule exactly
// where the leaf ships a less permissive disposition for that cell.

import assert from "node:assert/strict";
import { spawnSync } from "node:child_process";
import { mkdtempSync, readFileSync, rmSync, writeFileSync } from "node:fs";
import { tmpdir } from "node:os";
import { dirname, join, resolve } from "node:path";
import test from "node:test";
import assert from "node:assert/strict";
import { fileURLToPath } from "node:url";

const scriptsDir = dirname(fileURLToPath(import.meta.url));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
import { spawnSync } from "node:child_process";
import { existsSync, readdirSync, readFileSync } from "node:fs";
import { dirname, join, resolve } from "node:path";
import { fileURLToPath } from "node:url";
import process from "node:process";
import { fileURLToPath } from "node:url";
import { createFixtureHarness } from "./fixture-harness.mjs";

const scriptsDir = dirname(fileURLToPath(import.meta.url));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
import { spawnSync } from "node:child_process";
import { readdirSync, readFileSync, statSync } from "node:fs";
import { dirname, join, resolve } from "node:path";
import { fileURLToPath } from "node:url";
import process from "node:process";
import { fileURLToPath } from "node:url";
import { createFixtureHarness } from "./fixture-harness.mjs";

const scriptsDir = dirname(fileURLToPath(import.meta.url));
Expand Down
Loading