From 38d4446be33d14e9c20f4186ae8d8952d180ced6 Mon Sep 17 00:00:00 2001 From: Diego Imbert Date: Fri, 3 Jul 2026 21:15:48 +0200 Subject: [PATCH] nit --- cli/src/types.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/cli/src/types.ts b/cli/src/types.ts index 351115637e..c125ae2c2e 100644 --- a/cli/src/types.ts +++ b/cli/src/types.ts @@ -274,10 +274,10 @@ export function parseFromPath(p: string, content: string): any { return isWorkspaceDependencies(p) ? content : p.endsWith(".yaml") - ? yamlParseContent(p, content) - : p.endsWith(".json") - ? JSON.parse(content) - : content; + ? yamlParseContent(p, content) + : p.endsWith(".json") + ? JSON.parse(content) + : content; } export function parseFromFile(p: string): any { if (p.endsWith(".json")) { @@ -295,7 +295,7 @@ export function parseFromFile(p: string): any { export function parseDatatableMigrationPath(p: string): | { datatable: string; timestamp: number; name: string; kind: "up" | "down" } | undefined { - const parts = p.split(SEP); + const parts = p.split("/"); if ( parts[0] !== "migrations" || parts[1] !== "datatable" ||