Fix requires

main
Elbert Alias 3 years ago
parent a9f943ec9b
commit 86f14cd0fd

@ -362,7 +362,10 @@ const Content = {
requires.map(async ({ name, categoryId, technologies }) => { requires.map(async ({ name, categoryId, technologies }) => {
const id = categoryId ? `category:${categoryId}` : `technology:${name}` 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) Content.analyzedRequires.push(id)
await Promise.all([ await Promise.all([

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

Loading…
Cancel
Save