diff --git a/cli/commands/generateOrgCaKeys.ts b/cli/commands/generateOrgCaKeys.ts index fe38e0c56..ea12d8c3e 100644 --- a/cli/commands/generateOrgCaKeys.ts +++ b/cli/commands/generateOrgCaKeys.ts @@ -5,7 +5,7 @@ import { encrypt } from "@server/lib/crypto"; import { configFilePath1, configFilePath2 } from "@server/lib/consts"; import { generateCA } from "@server/lib/sshCA"; import fs from "fs"; -import yaml from "js-yaml"; +import * as yaml from "js-yaml"; type GenerateOrgCaKeysArgs = { orgId: string; diff --git a/cli/commands/rotateServerSecret.ts b/cli/commands/rotateServerSecret.ts index 1bacfa99c..8b26f4720 100644 --- a/cli/commands/rotateServerSecret.ts +++ b/cli/commands/rotateServerSecret.ts @@ -4,7 +4,7 @@ import { encrypt, decrypt } from "@server/lib/crypto"; import { configFilePath1, configFilePath2 } from "@server/lib/consts"; import { eq } from "drizzle-orm"; import fs from "fs"; -import yaml from "js-yaml"; +import * as yaml from "js-yaml"; type RotateServerSecretArgs = { "old-secret": string;