diff --git a/utils/doclint/cli.js b/utils/doclint/cli.js index 96eb000a..76156bb6 100755 --- a/utils/doclint/cli.js +++ b/utils/doclint/cli.js @@ -87,6 +87,10 @@ async function run() { clearExit = false; } console.log(`${errors.length} failures, ${warnings.length} warnings.`); + + if (!clearExit && !process.env.TRAVIS) + console.log('\nIs your lib/ directory up to date? You might need to `npm run tsc`.\n'); + const runningTime = Date.now() - startTime; console.log(`DocLint Finished in ${runningTime / 1000} seconds`); process.exit(clearExit ? 0 : 1);