Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Make whitespace fix more specific
  • Loading branch information
stuartmorgan-g committed Jan 19, 2024
commit c952664ae7241e1d63dafb80b27488c5dea7a63e
2 changes: 1 addition & 1 deletion packages/pigeon/lib/generator_tools.dart
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ bool isVoid(TypeMirror type) {
void addLines(Indent indent, Iterable<String> lines, {String? linePrefix}) {
final String prefix = linePrefix ?? '';
for (final String line in lines) {
indent.writeln('$prefix$line'.trimRight());
indent.writeln(line.isNotEmpty ? '$prefix$line' : prefix.trimRight());
}
}

Expand Down