0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-03-31 23:31:30 -05:00

[ci] format

This commit is contained in:
Matt Kane 2024-06-10 19:58:24 +00:00 committed by astrobot-houston
parent 1e293a1b81
commit 72a3dd31e9
2 changed files with 1 additions and 3 deletions

View file

@ -114,7 +114,7 @@ export function createGetCollection({
if (typeof filter === 'function') {
return entries.filter(filter);
} else {
// Clone the array so users can safely mutate it.
// Clone the array so users can safely mutate it.
// slice() is faster than ...spread for large arrays.
return entries.slice();
}

View file

@ -389,7 +389,5 @@ describe('Content Collections', () => {
assert.equal(index, anotherPage);
});
});
});