Skip to content

Commit

Permalink
tools: enable Markdown linter's usage information
Browse files Browse the repository at this point in the history
Prior to this commit, running `node tools/lint-md --help` and
`node tools/lint-md --version` resulted in an error.

* Use `unified-args` to start processor
* Use `unified-args`'s error handler

Fixes: #30156
PR-URL: #30216
Reviewed-By: Rich Trott <rtrott@gmail.com>
  • Loading branch information
Derek Lewis authored and targos committed Jan 14, 2020
1 parent 5a8a7a4 commit 47067ce
Show file tree
Hide file tree
Showing 4 changed files with 427 additions and 429 deletions.
3 changes: 2 additions & 1 deletion tools/lint-md.js

Large diffs are not rendered by default.

Loading

0 comments on commit 47067ce

Please sign in to comment.