Skip to content

Commit b8ccb84

Browse files
authored
Merge pull request #1293 from MerlinMoos/main
fix: cli windows path
2 parents 0ed970f + ccaa0d6 commit b8ccb84

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

libs/cli/src/generators/base/generator.ts

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -126,11 +126,9 @@ export async function hlmBaseGenerator(tree: Tree, options: HlmBaseGeneratorSche
126126

127127
for (const filePath of generatedFiles) {
128128
const content = tree.read(filePath, 'utf-8');
129-
if (filePath.includes('/button/')) {
130-
if (!content) continue;
131-
const transformed = await transformStyle(content, { styleMap });
132-
tree.write(filePath, transformed);
133-
}
129+
if (!content) continue;
130+
const transformed = await transformStyle(content, { styleMap });
131+
tree.write(filePath, transformed);
134132
}
135133

136134
tasks.push(registerDependencies(tree, options));

0 commit comments

Comments
 (0)