Fix validate externals docs
This commit is contained in:
parent
0bf384bf02
commit
11c19cfbf6
1 changed files with 6 additions and 1 deletions
|
@ -13,7 +13,12 @@ function validate(docPath) {
|
||||||
const extraPkgs = []
|
const extraPkgs = []
|
||||||
const missingPkgs = []
|
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]
|
docPkg = docPkg.split('`')[1]
|
||||||
|
|
||||||
if (!docPkg) {
|
if (!docPkg) {
|
||||||
|
|
Loading…
Reference in a new issue