Skip to content

Commit a2c8a3c

Browse files
committed
fix: dart guides generation
1 parent c571bef commit a2c8a3c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/formatter.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ export async function formatter(language: string, cwd: string): Promise<void> {
1515
}
1616
break;
1717
case 'dart':
18-
if (cwd.includes('tests') || cwd.includes('snippets')) {
19-
await run('dart pub get && dart fix --apply && dart format .', {
18+
if (cwd.includes('clients')) {
19+
await run('dart pub get && melos bs && melos build --no-select && melos lint', {
2020
cwd,
2121
language,
2222
});
2323
} else {
24-
await run('dart pub get && dart pub outdated && melos bs && melos build --no-select && melos lint', {
24+
await run('dart pub get && dart fix --apply && dart format .', {
2525
cwd,
2626
language,
2727
});

0 commit comments

Comments
 (0)