@reddoorla/maintenance 0.10.6 → 0.10.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cli/bin.js CHANGED
@@ -1325,7 +1325,6 @@ async function lighthouseAudit(ctx) {
1325
1325
 
1326
1326
  // src/audits/a11y.ts
1327
1327
  import { readFile as readFile5, writeFile as writeFile2, mkdtemp as mkdtemp2, rm as rm2 } from "fs/promises";
1328
- import { tmpdir as tmpdir2 } from "os";
1329
1328
  import { join as join5 } from "path";
1330
1329
 
1331
1330
  // src/configs/playwright-a11y.ts
@@ -1451,7 +1450,7 @@ async function a11yAudit(ctx) {
1451
1450
  const spawn2 = ctx.spawn ?? defaultSpawn;
1452
1451
  const site = ctx.site;
1453
1452
  const label = siteLabel(site);
1454
- const specDir = await mkdtemp2(join5(tmpdir2(), "reddoor-a11y-spec-"));
1453
+ const specDir = await mkdtemp2(join5(site.path, ".reddoor-a11y-spec-"));
1455
1454
  const specPath = join5(specDir, "a11y.spec.ts");
1456
1455
  await writeFile2(specPath, buildSpec(), "utf-8");
1457
1456
  const port = await findFreePort();