summaryrefslogtreecommitdiff
path: root/tests/systematic-debugging/test-find-polluter.sh
diff options
context:
space:
mode:
authorDrew Ritter <drew@primeradiant.com>2026-11-25 00:38:20 -0800
committerDrew Ritter <drew@primeradiant.com>2026-11-25 00:38:20 -0800
commitd285941c9f1f32c4f2588cf0091dbaa7d9b14bde (patch)
treebf47a33f1c64b0dfd28886fb4948166d14bc5174 /tests/systematic-debugging/test-find-polluter.sh
parent8846ce0c7274fda2d81e84231540ff850108d701 (diff)
fix(systematic-debugging): import tmpdir in the Layer 3 guard snippetfix/wave1-systematic-debugging
The Layer 3 snippet in defense-in-depth.md imports resolve, normalize and sep from node:path, then calls tmpdir(), which node:path does not export. Run as written with NODE_ENV=test, the guard throws "ReferenceError: tmpdir is not defined" for every path, the temp directory included, before it checks anything. Import tmpdir from node:os, as review finding F1 gives it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'tests/systematic-debugging/test-find-polluter.sh')
0 files changed, 0 insertions, 0 deletions