Skip to content

Commit c1d4d07

Browse files
committed
lints
1 parent 1a7d4dc commit c1d4d07

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkgs/shelf_router/lib/src/router.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ class Router {
205205

206206
if (prefix.endsWith('/')) {
207207
_all(
208-
prefix + '<$restPathParam|[^]*>',
208+
'$prefix<$restPathParam|[^]*>',
209209
(Request request, RouterEntry route) {
210210
// Remove path param from extracted route params
211211
final paramsList = [...route.params]..removeLast();
@@ -222,7 +222,7 @@ class Router {
222222
applyParamsOnHandle: false,
223223
);
224224
_all(
225-
prefix + '/<$restPathParam|[^]*>',
225+
'$prefix/<$restPathParam|[^]*>',
226226
(Request request, RouterEntry route) {
227227
// Remove path param from extracted route params
228228
final paramsList = [...route.params]..removeLast();

0 commit comments

Comments
 (0)