Fix linting issue

This commit is contained in:
Reinier Criel 2025-11-21 10:31:57 -08:00
parent ab1aa0dce9
commit 72bf44cb6d
2 changed files with 2 additions and 3 deletions

View file

@ -24,7 +24,7 @@ describe("runPipCommand environment variable handling", () => {
if (options.env.PIP_CONFIG_FILE) {
try {
capturedConfigContent = await fs.readFile(options.env.PIP_CONFIG_FILE, "utf-8");
} catch (e) {
} catch {
// Ignore if file doesn't exist or can't be read
}
}
@ -175,7 +175,6 @@ describe("runPipCommand environment variable handling", () => {
const res = await runPip("pip3", ["install", "requests"]);
assert.strictEqual(res.status, 0);
const configPath = capturedArgs.options.env.PIP_CONFIG_FILE;
assert.ok(capturedConfigContent, "config content should have been captured");
const parsed = ini.parse(capturedConfigContent);
assert.ok(parsed.global, "[global] should exist after creation");