Skip to content

Commit

Permalink
fix(precommit): add README after doctoc update
Browse files Browse the repository at this point in the history
  • Loading branch information
Kent C. Dodds committed Sep 23, 2017
1 parent 847b6a5 commit 33aebbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config/lintstagedrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ module.exports = {
`${kcdScripts} contributors generate`,
'git add README.md',
],
'README.md': [`${doctoc} --maxlevel 2 --notitle`],
'README.md': [`${doctoc} --maxlevel 2 --notitle`, 'git add README.md'],
},
}

0 comments on commit 33aebbe

Please sign in to comment.