Fix requires

main
Elbert Alias 3 years ago
parent a9f943ec9b
commit 86f14cd0fd

@ -362,7 +362,10 @@ const Content = {
requires.map(async ({ name, categoryId, technologies }) => {
const id = categoryId ? `category:${categoryId}` : `technology:${name}`
if (!Content.analyzedRequires.includes(id)) {
if (
!Content.analyzedRequires.includes(id) &&
Object.keys(Content.cache).length
) {
Content.analyzedRequires.push(id)
await Promise.all([

@ -1475,7 +1475,7 @@
"cats": [
19
],
"description": "Popper is an tolltip & popover positioning engine",
"description": "Popper is an tooltip and popover positioning engine.",
"html": [
"<script [^>]*src=\"[^\"]*/popper\\.js/([0-9.]+)\\;version:\\1"
],

Loading…
Cancel
Save