Skip to content

Commit 053ddeb

Browse files
improve examples regex (#4)
1 parent 1959692 commit 053ddeb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ async function cloneRepo(url) {
3030
function shouldIgnoreFile(filePath) {
3131
const ignorePatterns = [
3232
/CHANGELOG\.md$/i,
33-
/^examples\//,
33+
/\/?examples(?:\/|$)/,
3434
/\.stories\.mdx?$/i,
3535
/node_modules/,
3636
/dist/,

0 commit comments

Comments
 (0)