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 Trott committed Dec 15, 2019
1 parent 2097a6f commit 80fb153
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 80fb153

Please sign in to comment.