mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 12:31:23 +00:00
fix(security): harden hooks module loading
This commit is contained in:
@@ -217,7 +217,6 @@ describe("hooks mapping", () => {
|
||||
expect("skipped" in result).toBe(true);
|
||||
}
|
||||
});
|
||||
|
||||
it("treats null transform as a handled skip", async () => {
|
||||
const configDir = fs.mkdtempSync(path.join(os.tmpdir(), "openclaw-config-skip-"));
|
||||
const transformsRoot = path.join(configDir, "hooks", "transforms");
|
||||
|
||||
Reference in New Issue
Block a user