Skip to content

OpenAI's Codex Security CLI and TypeScript SDK for finding, validating, and fixing security vulnerabilities. npm: https://www.npmjs.com/package/@openai/codex-security

chore(codex-security): sync public projection

mldangelo-oaicc1316f410dd
diff --git a/sdk/typescript/tests-ts/cli.test.ts b/sdk/typescript/tests-ts/cli.test.ts
index c13a34097..ae5e27876 100644
--- a/sdk/typescript/tests-ts/cli.test.ts
+++ b/sdk/typescript/tests-ts/cli.test.ts
@@ -606,7 +606,6 @@ describe("CLI", () => {
test("lists repository and scan-root history without starting Codex", async () => {
const repository = resolve("/current/repository");
- const scanRoot = resolve("/tmp/history");
const cases: Array<[string[], string[]]> = [
[["scans"], ["list-scans", "--repository", repository]],
[
@@ -619,7 +618,7 @@ describe("CLI", () => {
],
[
["scans", "list", "--scan-root", "/tmp/history"],
- ["list-scans", "--scan-root", scanRoot],
+ ["list-scans", "--scan-root", resolve("/tmp/history")],
],
];
for (const [argv, expected] of cases) {