Skip to content

Commit ea47371

Browse files
committed
Update based on feedback in PR
1 parent 71a2f1c commit ea47371

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ endif
1313

1414
OUT = out
1515

16-
.PHONY: clean build copy_assets minify_static sitemap
16+
.PHONY: all clean build copy_assets minify_static sitemap
1717

1818
all: build copy_assets sitemap
1919

public_html/static/js/search.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ async function initializeDropdowns() {
285285
try {
286286
// Get all available products and their STIG versions
287287
const productStigPromise = loadProductStigMap();
288-
const productPromise = loadProductMap();
288+
const productPromise = loadProductMap();
289289

290290
const [productMap, productStigMap] = await Promise.all(
291291
[productPromise, productStigPromise]

stigaview_static/json_output.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ def render_json_control(control: models.Control, real_out_path: str):
2626
if not out_path.exists():
2727
out_path.mkdir(parents=True)
2828
filename = out_path.joinpath(f"{control.search_primary_key}.json")
29-
filename.write_text(json.dumps(control.to_search_json()))
29+
filename.write_text(json.dumps(control.to_search_json(), indent=0))

utils/add_to_search.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def main():
3232
print("Please set the environment variable SEARCH_MASTER_KEY", file=sys.stderr)
3333
sys.exit(1)
3434
if not MASTER_KEY:
35-
print("Please set the environment variable SEARCH_MASTER_KEY", file=sys.stderr)
35+
print("Please set the environment variable SEARCH_HOST", file=sys.stderr)
3636
sys.exit(1)
3737
args = _get_arg_parser().parse_args()
3838
json_output_path = pathlib.Path(args.json_output_path)

0 commit comments

Comments
 (0)