Skip to content

Commit

Permalink
improve examples regex (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
alejandronanez authored Dec 1, 2024
1 parent 1959692 commit 053ddeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ async function cloneRepo(url) {
function shouldIgnoreFile(filePath) {
const ignorePatterns = [
/CHANGELOG\.md$/i,
/^examples\//,
/\/?examples(?:\/|$)/,
/\.stories\.mdx?$/i,
/node_modules/,
/dist/,
Expand Down

0 comments on commit 053ddeb

Please sign in to comment.