Commit 11c19cfb authored by JJ Kasper's avatar JJ Kasper

Fix validate externals docs

parent 0bf384bf
......@@ -13,7 +13,12 @@ function validate(docPath) {
const extraPkgs = []
const missingPkgs = []
for (let docPkg of docContent.split('opt-ed out:').pop().split('\n')) {
for (let docPkg of docContent
.split('opt-ed out:')
.pop()
.split('| Version')
.shift()
.split('\n')) {
docPkg = docPkg.split('`')[1]
if (!docPkg) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment