Remove certificate command

This commit is contained in:
Sander Declerck 2025-11-28 16:30:18 +01:00
parent 8d82d4d56f
commit 552fd37294
No known key found for this signature in database

View file

@ -12,7 +12,6 @@ import { main } from "../src/main.js";
import path from "path"; import path from "path";
import { fileURLToPath } from "url"; import { fileURLToPath } from "url";
import fs from "fs"; import fs from "fs";
import { getCombinedCaBundlePath } from "../src/registryProxy/certBundle.js";
/** @type {string} */ /** @type {string} */
let dirname; let dirname;
@ -57,12 +56,6 @@ if (pkgManagerCommands.includes(command)) {
process.exit(0); process.exit(0);
} else if (command === "setup") { } else if (command === "setup") {
setup(); setup();
} else if (command === "certificate") {
(async function () {
const path = getCombinedCaBundlePath();
const data = await fs.promises.readFile(path);
ui.writeInformation(data.toString("utf8"));
})();
} else if (command === "teardown") { } else if (command === "teardown") {
teardown(); teardown();
} else if (command === "setup-ci") { } else if (command === "setup-ci") {