From 2722b29ef8b0032cd1ba6e4652e2a9182f5e3db8 Mon Sep 17 00:00:00 2001 From: alvarosabu Date: Wed, 8 Jan 2025 15:59:08 +0100 Subject: [PATCH] feat: update resolved path for saving components to include space directory inside --- src/commands/components/actions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/components/actions.ts b/src/commands/components/actions.ts index b2b9570..26fedb3 100644 --- a/src/commands/components/actions.ts +++ b/src/commands/components/actions.ts @@ -123,7 +123,7 @@ export const saveComponentsToFiles = async ( ) => { const { components, groups, presets } = spaceData const { filename = 'components', suffix, path, separateFiles } = options - const resolvedPath = resolvePath(path, space) + const resolvedPath = resolvePath(path, `components/${space}`) try { if (separateFiles) {