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 {
187
187
bool get inFlutter => ruleSets.contains ('flutter' );
188
188
bool get inRecommended => ruleSets.contains ('recommended' );
189
189
190
- String get _ruleSets => ruleSets.isNotEmpty ? ' ${ ruleSets . toString ()} ' : '' ;
190
+ String get _ruleSets => ruleSets.isNotEmpty ? ' $ruleSets ' : '' ;
191
191
192
192
String toMarkdown (List <Detail > details) {
193
193
var sb = StringBuffer ('| ' );
@@ -311,7 +311,7 @@ class ScoreCard {
311
311
for (var bug in bugs) {
312
312
var title = bug.title;
313
313
if (title.contains (lint.name)) {
314
- bugReferences.add ('#${bug .number . toString () }' );
314
+ bugReferences.add ('#${bug .number }' );
315
315
}
316
316
}
317
317
Original file line number Diff line number Diff line change @@ -495,7 +495,7 @@ class MarkdownIndexer {
495
495
}
496
496
497
497
if (filePath == null ) {
498
- print (buffer. toString () );
498
+ print (buffer);
499
499
} else {
500
500
File ('$filePath /index.md' ).writeAsStringSync (buffer.toString ());
501
501
}
@@ -775,7 +775,7 @@ class RuleMarkdownGenerator {
775
775
}
776
776
777
777
if (filePath == null ) {
778
- print (buffer. toString () );
778
+ print (buffer);
779
779
} else {
780
780
File ('$filePath /$name .md' ).writeAsStringSync (buffer.toString ());
781
781
}
Original file line number Diff line number Diff line change @@ -157,7 +157,7 @@ class LintScore {
157
157
this .bugReferences,
158
158
this .since});
159
159
160
- String get _ruleSets => ruleSets! .isNotEmpty ? ' ${ ruleSets . toString ()} ' : '' ;
160
+ String get _ruleSets => ruleSets! .isNotEmpty ? ' $ruleSets ' : '' ;
161
161
162
162
String toMarkdown (List <Detail > details) {
163
163
var sb = StringBuffer ('| ' );
@@ -265,7 +265,7 @@ class ScoreCard {
265
265
for (var bug in bugs) {
266
266
var title = bug.title;
267
267
if (title.contains (lint.name)) {
268
- bugReferences.add ('#${bug .number . toString () }' );
268
+ bugReferences.add ('#${bug .number }' );
269
269
}
270
270
}
271
271
You can’t perform that action at this time.
0 commit comments