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 MylesBorins committed Dec 17, 2019
1 parent 51d1a91 commit b20ddde
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 b20ddde

Please sign in to comment.