Skip to content

Commit 9619a85

Browse files
committed
docs: minor fixes
1 parent 36a781c commit 9619a85

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

scripts/lib/glob.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ import { globSync } from "tinyglobby";
33

44
export const glob = (patterns: string[], exclude: ReadonlyArray<string> = ["**/node_modules/**"]) =>
55
Effect.try({
6-
catch: (error) => `[Glob] Unable to scan files with patterns '${String(patterns)}': ${String(error)}`,
6+
catch: (error) => error,
77
try: () =>
88
globSync(patterns, {
9-
ignore: exclude.slice(),
9+
ignore: [...exclude],
1010
}),
1111
});

website/pages/docs/packages/_meta.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,9 @@ export default {
2929
href: "https://www.npmjs.com/package/eslint-plugin-react-naming-convention",
3030
newWindow: true,
3131
},
32+
"eslint-plugin-react-debug": {
33+
title: "eslint-plugin-react-debug",
34+
href: "https://www.npmjs.com/package/eslint-plugin-react-debug",
35+
newWindow: true,
36+
},
3237
} as const;

0 commit comments

Comments
 (0)