diff options
author | 2024-06-10 19:58:24 +0000 | |
---|---|---|
committer | 2024-06-10 19:58:24 +0000 | |
commit | 72a3dd31e9fab2adbc35321e00df63be82ac823a (patch) | |
tree | dbb28795a4c2656a185201ebbb6b1725e70443ae | |
parent | 1e293a1b819024f16bfe482f272df0678cdd7874 (diff) | |
download | astro-72a3dd31e9fab2adbc35321e00df63be82ac823a.tar.gz astro-72a3dd31e9fab2adbc35321e00df63be82ac823a.tar.zst astro-72a3dd31e9fab2adbc35321e00df63be82ac823a.zip |
[ci] format
-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); }); - }); - }); |