From 8258fe20327129f9e93cf9d126cd8eaccd97ffd7 Mon Sep 17 00:00:00 2001 From: wenovus Date: Tue, 21 Sep 2021 16:35:27 -0700 Subject: [PATCH] Minor fixes in functionality and style. - Make some functions private. - Minor UI fix. - Crawler should check that a directory exists before crawling. --- frontend/static/query.html | 2 +- pkg/client/client.go | 6 +++--- pkg/db/db.go | 34 +++++++++++++++++----------------- scripts/crawl/crawl.go | 12 ++++++++---- scripts/crawl/crawloc.sh | 5 ++--- 5 files changed, 31 insertions(+), 28 deletions(-) diff --git a/frontend/static/query.html b/frontend/static/query.html index 4aefae0..4afbad8 100644 --- a/frontend/static/query.html +++ b/frontend/static/query.html @@ -274,8 +274,8 @@ tableContent += `` + modules[i].Version + `` if (queryType == "ModulesByOrgName" || queryType == "ModulesByKey") { tableContent += `URL` + `` + tableContent += `` + modules[i].Summary + `` } - tableContent += `` + modules[i].Summary + `` tableContent += `