Skip to content

Commit

Permalink
fix: remove html comments from man entries
Browse files Browse the repository at this point in the history
  • Loading branch information
wraithgar committed Feb 22, 2022
1 parent 9bdd1ac commit f14a438
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/docs-build.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ fs.readFile(src, 'utf8', function (err, data) {
}

var result = data.replace(/@VERSION@/g, npm.version)
.replace(/^<!--.*-->$/gm, '')
.replace(/^---\n([\s\S]+\n)---/, frontmatter)
.replace(/\[([^\]]+)\]\(\/commands\/([^)]+)\)/g, replacer)
.replace(/\[([^\]]+)\]\(\/configuring-npm\/([^)]+)\)/g, replacer)
Expand Down

0 comments on commit f14a438

Please sign in to comment.