Skip to content

Commit c2938ac

Browse files
committed
Clean up unused spec
1 parent 64acfeb commit c2938ac

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

tool/plugin/lib/plugin.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -509,8 +509,6 @@ class GenerateCommand extends ProductCommand {
509509

510510
@override
511511
Future<int> doit() async {
512-
var json = readProductMatrix();
513-
var spec = SyntheticBuildSpec.fromJson(json.first, release, specs);
514512
if (!genPresubmitYaml(specs)) {
515513
return 1;
516514
}

tool/plugin/test/plugin_test.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,6 @@ void main() {
182182
await runner.run(["-d../..", "make"]).whenComplete(() {
183183
cmd = (runner.commands['make'] as TestMakeCommand);
184184
});
185-
var spec = cmd.specs[0];
186185
await removeAll('../../build/classes');
187186
var file = File("../../build/classes/META-INF/plugin.xml");
188187
expect(file.existsSync(), isTrue);

0 commit comments

Comments
 (0)