From 865dad5b786f92915bf0690f7f31ea32ca76a1c4 Mon Sep 17 00:00:00 2001 From: Tom Limoncelli <6293917+tlimoncelli@users.noreply.github.com> Date: Mon, 8 Dec 2025 10:09:06 -0500 Subject: [PATCH] TOOLS: bin/generate-all.sh should skip .vscode (#3901) # Issue bin/generate-all.sh is trying to reformat VSCode's launch.json, but it can't because it is not strict json. ``` Reformatting: ./.vscode/launch.json ERROR: Expecting value: line 17 column 17 (char 465) ``` # Resolution bin/generate-all.sh should skip the .vscode directory. --- bin/generate-all.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/generate-all.sh b/bin/generate-all.sh index 03973129b..79fc0bdfa 100755 --- a/bin/generate-all.sh +++ b/bin/generate-all.sh @@ -7,7 +7,7 @@ if [[ -x node_modules/.bin/prettier ]]; then fi # JSON -bin/fmtjson $(find . -type f -name "*.json" ! -name "package-lock.json" -print) +bin/fmtjson $(find . -path ./.vscode -prune -o -type f -name "*.json" ! -name "package-lock.json" -print) # dnsconfig.js-compatible files: for i in pkg/js/parse_tests/*.js ; do dnscontrol fmt -i $i -o $i ; done