Skip to content
This repository has been archived by the owner on May 12, 2024. It is now read-only.

Commit

Permalink
Merge pull request #4 from gaurav-nelson/codefixes
Browse files Browse the repository at this point in the history
Codefixes
  • Loading branch information
Gaurav Nelson committed Sep 8, 2017
2 parents 75ccdec + a076286 commit 2be9d76
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion asciidoc-link-check
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ stream.on('data', function (chunk) {
asciidoc += chunk.toString();
}).on('end', function () {
asciidocLinkCheck(asciidoc, opts, function (err, results) {
if ((results.length === 0) && !(error)) {
if (results.length === 0) {
console.log(chalk.yellow('No hyperlinks found!'))
}
results.forEach(function (result) {
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "asciidoc-link-check",
"version": "1.0.4",
"version": "1.0.5",
"description": "Checks if all hyperlinks in an asciidoc file are alive(or dead).",
"bin": {
"asciidoc-link-check": "asciidoc-link-check"
Expand Down

0 comments on commit 2be9d76

Please sign in to comment.