Skip to content

Commit

Permalink
Fix Travis build by removing duplicated analysis suppression. (google…
Browse files Browse the repository at this point in the history
  • Loading branch information
mraleph authored Nov 3, 2020
1 parent d428804 commit 06835ba
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion protoc_plugin/lib/file_generator.dart
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ class FileGenerator extends ProtobufContainer {
if (enumCount > 0) {
// Make sure any other symbols in dart:core don't cause name conflicts
// with enums that have the same name.
out.println("// ignore_for_file: UNDEFINED_SHOWN_NAME,UNUSED_SHOWN_NAME");
out.println("// ignore_for_file: UNDEFINED_SHOWN_NAME");
out.println(_coreImport);
out.println(_protobufImport);
out.println();
Expand Down
2 changes: 1 addition & 1 deletion protoc_plugin/lib/src/descriptor.pbenum.dart
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// @dart = 2.3
// ignore_for_file: annotate_overrides,camel_case_types,unnecessary_const,non_constant_identifier_names,library_prefixes,unused_import,unused_shown_name,return_of_invalid_type,unnecessary_this,prefer_final_fields

// ignore_for_file: UNDEFINED_SHOWN_NAME,UNUSED_SHOWN_NAME
// ignore_for_file: UNDEFINED_SHOWN_NAME
import 'dart:core' as $core;
import 'package:protobuf/protobuf.dart' as $pb;

Expand Down
2 changes: 1 addition & 1 deletion protoc_plugin/test/goldens/topLevelEnum.pbenum
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// @dart = 2.3
// ignore_for_file: annotate_overrides,camel_case_types,unnecessary_const,non_constant_identifier_names,library_prefixes,unused_import,unused_shown_name,return_of_invalid_type,unnecessary_this,prefer_final_fields

// ignore_for_file: UNDEFINED_SHOWN_NAME,UNUSED_SHOWN_NAME
// ignore_for_file: UNDEFINED_SHOWN_NAME
import 'dart:core' as $core;
import 'package:protobuf/protobuf.dart' as $pb;

Expand Down
20 changes: 10 additions & 10 deletions protoc_plugin/test/goldens/topLevelEnum.pbenum.meta
Original file line number Diff line number Diff line change
Expand Up @@ -2,42 +2,42 @@ annotation: {
path: 5
path: 0
sourceFile: test
begin: 431
end: 440
begin: 413
end: 422
}
annotation: {
path: 5
path: 0
path: 2
path: 0
sourceFile: test
begin: 493
end: 499
begin: 475
end: 481
}
annotation: {
path: 5
path: 0
path: 2
path: 1
sourceFile: test
begin: 621
end: 625
begin: 603
end: 607
}
annotation: {
path: 5
path: 0
path: 2
path: 2
sourceFile: test
begin: 745
end: 749
begin: 727
end: 731
}
annotation: {
path: 5
path: 0
path: 2
path: 3
sourceFile: test
begin: 870
end: 878
begin: 852
end: 860
}

0 comments on commit 06835ba

Please sign in to comment.