Skip to content

Commit

Permalink
[ci] format
Browse files Browse the repository at this point in the history
  • Loading branch information
ascorbic authored and astrobot-houston committed Jun 10, 2024
1 parent 1e293a1 commit 72a3dd3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion packages/astro/src/content/runtime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down
2 changes: 0 additions & 2 deletions packages/astro/test/content-collections.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,5 @@ describe('Content Collections', () => {

assert.equal(index, anotherPage);
});

});

});

0 comments on commit 72a3dd3

Please sign in to comment.