From fab3fd7a93ad427c091636435935d4c3ad4b29bb Mon Sep 17 00:00:00 2001 From: chris48s <chris48s@users.noreply.github.com> Date: Mon, 6 Mar 2023 15:58:16 +0000 Subject: [PATCH] sort service path matches (#8968) --- core/base-service/loader.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/base-service/loader.js b/core/base-service/loader.js index f476b04cce..1a21de5d9a 100644 --- a/core/base-service/loader.js +++ b/core/base-service/loader.js @@ -28,7 +28,7 @@ class InvalidService extends Error { } function getServicePaths(pattern) { - return globSync(toUnixPath(path.join(serviceDir, '**', pattern))) + return globSync(toUnixPath(path.join(serviceDir, '**', pattern))).sort() } async function loadServiceClasses(servicePaths) { -- GitLab