diff options
author | 2021-04-27 13:42:03 -0500 | |
---|---|---|
committer | 2021-04-27 13:42:03 -0500 | |
commit | 73b7827b40ae33664877156850ecf04302fa668a (patch) | |
tree | bab8d916d06238bd859435c13b2c7390936a9cba /src/compiler/codegen/content.ts | |
parent | 41c64b30af7ed34c1a870b6f273a2889fa2df102 (diff) | |
download | astro-73b7827b40ae33664877156850ecf04302fa668a.tar.gz astro-73b7827b40ae33664877156850ecf04302fa668a.tar.zst astro-73b7827b40ae33664877156850ecf04302fa668a.zip |
chore: update docs to new defaults (#133)
Diffstat (limited to 'src/compiler/codegen/content.ts')
-rw-r--r-- | src/compiler/codegen/content.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler/codegen/content.ts b/src/compiler/codegen/content.ts index e6377eec0..fb8f9e307 100644 --- a/src/compiler/codegen/content.ts +++ b/src/compiler/codegen/content.ts @@ -23,8 +23,8 @@ const crawler = new fdir(); function globSearch(spec: string, { filename }: { filename: string }): string[] { try { // Note: fdir’s glob requires you to do some work finding the closest non-glob folder. - // For example, this fails: .glob("./post/*.md").crawl("/…/astro/pages") ❌ - // …but this doesn’t: .glob("*.md").crawl("/…/astro/pages/post") ✅ + // For example, this fails: .glob("./post/*.md").crawl("/…/src/pages") ❌ + // …but this doesn’t: .glob("*.md").crawl("/…/src/pages/post") ✅ let globDir = ''; let glob = spec; for (const part of spec.split('/')) { |