Fix replace in build-docs script
This commit is contained in:
parent
5116334978
commit
b60cdcdf06
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ function printDocs(vars, docs) {
|
||||||
return x;
|
return x;
|
||||||
})
|
})
|
||||||
.map((x) => printWidget(x))
|
.map((x) => printWidget(x))
|
||||||
.map((x) => x.replace(/\$\w+/, (x) => vars[x.replace("$", "")]))
|
.map((x) => x.replace(/\$\w+/g, (x) => vars[x.replace("$", "")]))
|
||||||
.join("\n\n");
|
.join("\n\n");
|
||||||
console.log(output);
|
console.log(output);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue