Skip to content

Commit

Permalink
fix: lint warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
RatakondalaArun committed Feb 13, 2022
1 parent 23ad503 commit 8663740
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/src/virtual_directory.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ import 'dart:async';
import 'dart:convert';
import 'dart:io';

import 'package:http_parser/http_parser.dart' as hp;
import 'package:mime/mime.dart' as mime;
import 'package:path/path.dart' as path;
import 'package:shelf/shelf.dart';
import 'package:shelf_router/shelf_router.dart';
import 'package:http_parser/http_parser.dart' as hp;

part 'html_templates.dart';

Expand Down Expand Up @@ -337,7 +337,9 @@ class ShelfVirtualDirectory {
headers: {HttpHeaders.contentTypeHeader: 'text/html'},
);
} on FileSystemException catch (err) {
stderr..writeln(err)..writeln(StackTrace.current);
stderr
..writeln(err)
..writeln(StackTrace.current);
return Response.forbidden('Forbidden');
} catch (e) {
rethrow;
Expand Down

0 comments on commit 8663740

Please sign in to comment.