Skip to content

Commit eb3fa4f

Browse files
committed
Fixed linter issues
1 parent 759b833 commit eb3fa4f

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

lib/src/http/http_content_type.dart

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,9 @@ class _HeaderValue {
248248
if (char == " " ||
249249
char == "\t" ||
250250
char == valueSeparator ||
251-
char == parameterSeparator) break;
251+
char == parameterSeparator) {
252+
break;
253+
}
252254
index++;
253255
}
254256
return s.substring(start, index);
@@ -280,7 +282,9 @@ class _HeaderValue {
280282
char == "\t" ||
281283
char == "=" ||
282284
char == parameterSeparator ||
283-
char == valueSeparator) break;
285+
char == valueSeparator) {
286+
break;
287+
}
284288
index++;
285289
}
286290
return s.substring(start, index).toLowerCase();

0 commit comments

Comments
 (0)