summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Matt Kane <ascorbic@users.noreply.github.com> 2024-06-10 19:58:24 +0000
committerGravatar astrobot-houston <fred+astrobot@astro.build> 2024-06-10 19:58:24 +0000
commit72a3dd31e9fab2adbc35321e00df63be82ac823a (patch)
treedbb28795a4c2656a185201ebbb6b1725e70443ae
parent1e293a1b819024f16bfe482f272df0678cdd7874 (diff)
downloadastro-72a3dd31e9fab2adbc35321e00df63be82ac823a.tar.gz
astro-72a3dd31e9fab2adbc35321e00df63be82ac823a.tar.zst
astro-72a3dd31e9fab2adbc35321e00df63be82ac823a.zip
[ci] format
-rw-r--r--packages/astro/src/content/runtime.ts2
-rw-r--r--packages/astro/test/content-collections.test.js2
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);
});
-
});
-
});