Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

Commit 8bec125

Browse files
authored
Avoid analyzing API example code twice, clean-up (#103548)
1 parent 2b19ecd commit 8bec125

26 files changed

+958
-1386
lines changed

dev/bots/analyze.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -171,10 +171,10 @@ Future<void> run(List<String> arguments) async {
171171
...arguments,
172172
]);
173173

174-
// Analyze all the sample code in the repo.
175-
print('$clock Sample code...');
174+
// Analyze the code in `{@tool snippet}` sections in the repo.
175+
print('$clock Snippet code...');
176176
await runCommand(dart,
177-
<String>[path.join(flutterRoot, 'dev', 'bots', 'analyze_sample_code.dart'), '--verbose'],
177+
<String>[path.join(flutterRoot, 'dev', 'bots', 'analyze_snippet_code.dart'), '--verbose'],
178178
workingDirectory: flutterRoot,
179179
);
180180

0 commit comments

Comments
 (0)