Skip to content

Commit

Permalink
fix latest pedantic lints
Browse files Browse the repository at this point in the history
  • Loading branch information
kevmoo committed May 10, 2019
1 parent 76bf3d2 commit 4ec786e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/src/utils.dart
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,9 @@ List<String> wrapTextAsLines(String text, {int start = 0, int length}) {
result.add(line.substring(currentLineStart, i).trim());

// Skip any intervening whitespace.
while (isWhitespace(line, i) && i < line.length) i++;
while (isWhitespace(line, i) && i < line.length) {
i++;
}

currentLineStart = i;
lastWhitespace = null;
Expand Down

0 comments on commit 4ec786e

Please sign in to comment.