mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-01 04:40:21 +00:00
fix(tests): correct security check failure
This commit is contained in:
@@ -617,7 +617,7 @@ describe("secrets runtime snapshot", () => {
|
||||
});
|
||||
await fs.writeFile(
|
||||
secretFile,
|
||||
`${JSON.stringify({ providers: { openai: { apiKey: "sk-file-runtime" } } }, null, 2)}\n`,
|
||||
`${JSON.stringify({ providers: { openai: { apiKey: "sk-file-runtime" } } }, null, 2)}\n`, // pragma: allowlist secret
|
||||
{ encoding: "utf8", mode: 0o600 },
|
||||
);
|
||||
await fs.writeFile(
|
||||
|
||||
Reference in New Issue
Block a user