mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 12:10:49 +00:00
Remove certificate command
This commit is contained in:
parent
8d82d4d56f
commit
552fd37294
1 changed files with 0 additions and 7 deletions
|
|
@ -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") {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue