Skip to content

Commit

Permalink
chore(doclint): do not attempt to lint non-documentation markdown
Browse files Browse the repository at this point in the history
  • Loading branch information
aslushnikov committed Nov 7, 2017
1 parent cc5e8a9 commit a467d35
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion utils/doclint/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ async function run() {

// Documentation checks.
{
const mdSources = await sourceFactory.readdir(path.join(PROJECT_DIR, 'docs'), '.md');
const apiSource = await sourceFactory.readFile(path.join(PROJECT_DIR, 'docs', 'api.md'));
const mdSources = [apiSource];

const toc = require('./toc');
messages.push(...await toc(mdSources));
Expand Down

0 comments on commit a467d35

Please sign in to comment.