sort service path matches (#8968)

This commit is contained in:
chris48s
2023-03-06 15:58:16 +00:00
committed by GitHub
parent a5480d5a8c
commit fab3fd7a93

View File

@@ -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) {