diff --git a/src/configs.ts b/src/configs.ts index fdc761e..92474af 100644 --- a/src/configs.ts +++ b/src/configs.ts @@ -242,10 +242,12 @@ export async function globMatchedFiles( ): Promise { console.log(MARK_INFO, 'Globing matched files') - const files = (await configArrayFindFiles({ - basePath, - configs: buildConfigArray(rawConfigs, basePath), - })).toSorted() + const files = [ + ...await configArrayFindFiles({ + basePath, + configs: buildConfigArray(rawConfigs, basePath), + }), + ].sort() return files .map((filepath) => {