Skip to content

Commit

Permalink
fix: remove html comments from man entries (#4457)
Browse files Browse the repository at this point in the history
  • Loading branch information
wraithgar authored Feb 22, 2022
1 parent e83e5c9 commit c9ff797
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 c9ff797

Please sign in to comment.