Unverified Commit 9c6f11d5 authored by Alexandre Ardhuin's avatar Alexandre Ardhuin Committed by GitHub

fix bad indentation (#41263)

parent c81c78f8
...@@ -866,7 +866,7 @@ class _PrefixedStringBuilder { ...@@ -866,7 +866,7 @@ class _PrefixedStringBuilder {
/// ///
/// This method wraps a sequence of text where only some spans of text can be /// This method wraps a sequence of text where only some spans of text can be
/// used as wrap boundaries. /// used as wrap boundaries.
static Iterable<String> _wordWrapLine(String message, List<int> wrapRanges, int width, { int startOffset = 0, int otherLineOffset = 0}) sync* { static Iterable<String> _wordWrapLine(String message, List<int> wrapRanges, int width, { int startOffset = 0, int otherLineOffset = 0}) sync* {
if (message.length + startOffset < width) { if (message.length + startOffset < width) {
// Nothing to do. The line doesn't wrap. // Nothing to do. The line doesn't wrap.
yield message; yield message;
...@@ -1290,8 +1290,7 @@ class TextTreeRenderer { ...@@ -1290,8 +1290,7 @@ class TextTreeRenderer {
if (!propertyRender.endsWith('\n')) if (!propertyRender.endsWith('\n'))
builder.write('\n'); builder.write('\n');
} }
} else } else {
{
final String propertyRender = render(property, final String propertyRender = render(property,
prefixLineOne: '${builder.prefixOtherLines}${propertyStyle.prefixLineOne}', prefixLineOne: '${builder.prefixOtherLines}${propertyStyle.prefixLineOne}',
prefixOtherLines: '${builder.prefixOtherLines}${propertyStyle.childLinkSpace}${propertyStyle.prefixOtherLines}', prefixOtherLines: '${builder.prefixOtherLines}${propertyStyle.childLinkSpace}${propertyStyle.prefixOtherLines}',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment