mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-05 12:10:20 +00:00
fix: restore repo-wide gate after exec safe-bin refactor
This commit is contained in:
@@ -718,10 +718,9 @@ description: test skill
|
||||
await Promise.all(
|
||||
cases.map(async (testCase) => {
|
||||
const res = await audit(testCase.cfg);
|
||||
expect(
|
||||
hasFinding(res, "tools.exec.safe_bins_broad_behavior", "warn"),
|
||||
testCase.name,
|
||||
).toBe(testCase.expected);
|
||||
expect(hasFinding(res, "tools.exec.safe_bins_broad_behavior", "warn"), testCase.name).toBe(
|
||||
testCase.expected,
|
||||
);
|
||||
}),
|
||||
);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user