Skip to content

Commit

Permalink
[meta] since: exclude eslintrc changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed May 19, 2019
1 parent da53207 commit abb52aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion since.js
Expand Up @@ -15,7 +15,7 @@ const packages = (process.argv.length > 2 ? [process.argv[2]] : glob.sync('*', {
packages.forEach((pkg) => {
const tag = `${pkg.name === 'docs' ? 'enzyme' : pkg.name}@${pkg.version}`;
const dir = path.join(packagesDir, pkg.name);
const logArgs = ['--no-pager', 'log', '--oneline', `${tag}..HEAD`, dir].concat(pkg.name === 'enzyme' ? docsDir : []);
const logArgs = ['--no-pager', 'log', '--oneline', `${tag}..HEAD`, dir, ':!**/.eslintrc'].concat(pkg.name === 'enzyme' ? docsDir : []);
const log = spawnSync('git', logArgs, { stdio: 'pipe' });
if (log.stdout.length > 0 || log.stderr.length > 0) {
console.log(tag);
Expand Down

0 comments on commit abb52aa

Please sign in to comment.