This repository was archived by the owner on Nov 20, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -187,7 +187,7 @@ class LintScore {
187187 bool get inFlutter => ruleSets.contains ('flutter' );
188188 bool get inRecommended => ruleSets.contains ('recommended' );
189189
190- String get _ruleSets => ruleSets.isNotEmpty ? ' ${ ruleSets . toString ()} ' : '' ;
190+ String get _ruleSets => ruleSets.isNotEmpty ? ' $ruleSets ' : '' ;
191191
192192 String toMarkdown (List <Detail > details) {
193193 var sb = StringBuffer ('| ' );
@@ -311,7 +311,7 @@ class ScoreCard {
311311 for (var bug in bugs) {
312312 var title = bug.title;
313313 if (title.contains (lint.name)) {
314- bugReferences.add ('#${bug .number . toString () }' );
314+ bugReferences.add ('#${bug .number }' );
315315 }
316316 }
317317
Original file line number Diff line number Diff line change @@ -495,7 +495,7 @@ class MarkdownIndexer {
495495 }
496496
497497 if (filePath == null ) {
498- print (buffer. toString () );
498+ print (buffer);
499499 } else {
500500 File ('$filePath /index.md' ).writeAsStringSync (buffer.toString ());
501501 }
@@ -775,7 +775,7 @@ class RuleMarkdownGenerator {
775775 }
776776
777777 if (filePath == null ) {
778- print (buffer. toString () );
778+ print (buffer);
779779 } else {
780780 File ('$filePath /$name .md' ).writeAsStringSync (buffer.toString ());
781781 }
Original file line number Diff line number Diff line change @@ -157,7 +157,7 @@ class LintScore {
157157 this .bugReferences,
158158 this .since});
159159
160- String get _ruleSets => ruleSets! .isNotEmpty ? ' ${ ruleSets . toString ()} ' : '' ;
160+ String get _ruleSets => ruleSets! .isNotEmpty ? ' $ruleSets ' : '' ;
161161
162162 String toMarkdown (List <Detail > details) {
163163 var sb = StringBuffer ('| ' );
@@ -265,7 +265,7 @@ class ScoreCard {
265265 for (var bug in bugs) {
266266 var title = bug.title;
267267 if (title.contains (lint.name)) {
268- bugReferences.add ('#${bug .number . toString () }' );
268+ bugReferences.add ('#${bug .number }' );
269269 }
270270 }
271271
You can’t perform that action at this time.
0 commit comments