diff options
-rw-r--r-- | packages/astro/src/content/runtime.ts | 2 | ||||
-rw-r--r-- | packages/astro/test/content-collections.test.js | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/packages/astro/src/content/runtime.ts b/packages/astro/src/content/runtime.ts index 484fe6a8d..6fd017c85 100644 --- a/packages/astro/src/content/runtime.ts +++ b/packages/astro/src/content/runtime.ts @@ -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(); } diff --git a/packages/astro/test/content-collections.test.js b/packages/astro/test/content-collections.test.js index 7996f1161..828e10940 100644 --- a/packages/astro/test/content-collections.test.js +++ b/packages/astro/test/content-collections.test.js @@ -389,7 +389,5 @@ describe('Content Collections', () => { assert.equal(index, anotherPage); }); - }); - }); |