From decd4b56e7009f9a5bfa36756cc8f2e4d955b2e5 Mon Sep 17 00:00:00 2001 From: Tobe O Date: Fri, 22 Nov 2019 08:29:56 -0500 Subject: [PATCH] Formatting --- lib/src/core/controller.dart | 3 ++- lib/src/core/hostname_router.dart | 3 +-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/src/core/controller.dart b/lib/src/core/controller.dart index 2c82cde2..e531b12b 100644 --- a/lib/src/core/controller.dart +++ b/lib/src/core/controller.dart @@ -47,7 +47,8 @@ class Controller { } /// Applies the routes from this [Controller] to some [router]. - Future applyRoutes(Router router, Reflector reflector) async { + Future applyRoutes( + Router router, Reflector reflector) async { // Load global expose decl var classMirror = reflector.reflectClass(this.runtimeType); Expose exposeDecl = findExpose(reflector); diff --git a/lib/src/core/hostname_router.dart b/lib/src/core/hostname_router.dart index c6e98f70..b896a895 100644 --- a/lib/src/core/hostname_router.dart +++ b/lib/src/core/hostname_router.dart @@ -96,8 +96,7 @@ class HostnameRouter { // app.dumpTree(); var r = app.optimizedRouter; - var resolved = - r.resolveAbsolute(req.path, method: req.method); + var resolved = r.resolveAbsolute(req.path, method: req.method); var pipeline = MiddlewarePipeline(resolved); // print('Pipeline: $pipeline'); for (var handler in pipeline.handlers) {