mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-12-18 06:39:44 +08:00
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.
This commit is contained in:
parent
db27a1e557
commit
865dad5b78
1 changed files with 1 additions and 1 deletions
|
|
@ -7,7 +7,7 @@ if [[ -x node_modules/.bin/prettier ]]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# JSON
|
# 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:
|
# dnsconfig.js-compatible files:
|
||||||
for i in pkg/js/parse_tests/*.js ; do dnscontrol fmt -i $i -o $i ; done
|
for i in pkg/js/parse_tests/*.js ; do dnscontrol fmt -i $i -o $i ; done
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue