fix: dedupe fs import in guard

This commit is contained in:
2026-08-21 17:27:25 -05:00
parent 92ae220950
commit fef46eee58
+1 -3
View File
@@ -1,4 +1,4 @@
import { appendFileSync } from "node:fs"
import { appendFileSync, mkdirSync } from "node:fs"
import { homedir } from "node:os"
import path from "node:path"
@@ -28,8 +28,6 @@ const LOG_PATH = path.join(
"neuron-guard.jsonl",
)
import { appendFileSync, mkdirSync } from "node:fs"
function log(entry: Entry) {
try {
mkdirSync(path.dirname(LOG_PATH), { recursive: true })