We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 967e71b commit 257db68Copy full SHA for 257db68
scripts/update-website.ts
@@ -28,7 +28,8 @@ interface RuleMeta {
28
29
const collectDocs = Effect.gen(function*() {
30
const path = yield* Path.Path;
31
- return glob(DOCS_GLOB).map<RuleMeta>((doc) => {
+ const docs = yield* Effect.sync(() => glob(DOCS_GLOB));
32
+ return docs.map<RuleMeta>((doc) => {
33
const catename = /^packages\/plugins\/eslint-plugin-react-([^/]+)/u.exec(doc)?.[1] ?? "";
34
const basename = path.parse(path.basename(doc)).name;
35
0 commit comments