chore: fix lint and add gateway auth tests

This commit is contained in:
Peter Steinberger committed 2026-01-02 17:15:26 +01:00
1 parent 8d925226cb
commit 314164fb8a
10 files changed
+115 -36

No files matched your search

+1 -2
View File
@@ -660,7 +660,6 @@ type DedupeEntry = {
error?: ErrorShape;
};
function formatForLog(value: unknown): string {
try {
if (value instanceof Error) {
@@ -1334,7 +1333,7 @@ export async function startGatewayServer(
);
if (!migrated) {
throw new Error(
"Legacy config entries detected but auto-migration failed. Run \"clawdis doctor\" to migrate.",
'Legacy config entries detected but auto-migration failed. Run "clawdis doctor" to migrate.',
);
}
await writeConfigFile(migrated);