Skip to content

Commit cdaa5f2

Browse files
committed
refactor: reorder middlewares
1 parent 6d980ab commit cdaa5f2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/commandkit/src/app/router/CommandsRouter.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -305,9 +305,9 @@ export class CommandsRouter {
305305
.map((middleware) => middleware.id);
306306

307307
command.middlewares = [
308-
...commandSpecificMiddlewares,
309-
...directorySpecificMiddlewares,
310308
...globalMiddlewares,
309+
...directorySpecificMiddlewares,
310+
...commandSpecificMiddlewares,
311311
];
312312
});
313313
}

0 commit comments

Comments
 (0)