Skip to content
This repository was archived by the owner on Jan 19, 2022. It is now read-only.

Commit 5ad6f50

Browse files
author
Tobias Haugen
authored
Change double quotes to single quotes
Suggestion to change the double quotes in basic_writer_server.dart to single quotes to comply with the prefer_single_quotes rule.
1 parent 78884cb commit 5ad6f50

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

httpserver/bin/basic_writer_server.dart

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ Future main() async {
3232
} catch (e) {
3333
response
3434
..statusCode = HttpStatus.internalServerError
35-
..write("Exception during file I/O: $e.");
35+
..write('Exception during file I/O: $e.');
3636
}
3737
} else {
3838
response
3939
..statusCode = HttpStatus.methodNotAllowed
40-
..write("Unsupported request: ${req.method}.");
40+
..write('Unsupported request: ${req.method}.');
4141
}
4242
await response.close();
4343
}

0 commit comments

Comments
 (0)