diff --git a/src/index.js b/src/index.js index 7f18685..942c3d8 100755 --- a/src/index.js +++ b/src/index.js @@ -30,7 +30,7 @@ async function cloneRepo(url) { function shouldIgnoreFile(filePath) { const ignorePatterns = [ /CHANGELOG\.md$/i, - /^examples\//, + /\/?examples(?:\/|$)/, /\.stories\.mdx?$/i, /node_modules/, /dist/,