mirror of
https://github.com/withastro/astro.git
synced 2025-01-13 22:11:20 -05:00
[ci] format
This commit is contained in:
parent
742866c566
commit
ae12a7e32c
1 changed files with 25 additions and 23 deletions
|
@ -83,7 +83,8 @@ export function createGetCollection({
|
|||
} else {
|
||||
const limit = pLimit(10);
|
||||
entries = await Promise.all(
|
||||
lazyImports.map((lazyImport) => limit(async () => {
|
||||
lazyImports.map((lazyImport) =>
|
||||
limit(async () => {
|
||||
const entry = await lazyImport();
|
||||
return type === 'content'
|
||||
? {
|
||||
|
@ -105,7 +106,8 @@ export function createGetCollection({
|
|||
collection: entry.collection,
|
||||
data: entry.data,
|
||||
};
|
||||
}))
|
||||
})
|
||||
)
|
||||
);
|
||||
cacheEntriesByCollection.set(collection, entries);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue