diff --git a/core/base-service/loader.js b/core/base-service/loader.js index f476b04cce73ebf4ed53dc505a05bc131906a29d..1a21de5d9a9310ed9cd8ebf4bec3736431035fd8 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) {