From 44b018604443aee7fb72df9cf1b262b88e00b9b2 Mon Sep 17 00:00:00 2001 From: Owen Date: Fri, 4 Sep 2026 15:32:59 -0400 Subject: [PATCH] Fix yaml import --- cli/commands/generateOrgCaKeys.ts | 2 +- cli/commands/rotateServerSecret.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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;