comments on js-beautify
All checks were successful
Lint Checks / Run linter (pull_request) Successful in 36s
Smoke Test / Run basic test suite (pull_request) Successful in 4m41s
Webapp Test / Run webapp test suite (pull_request) Successful in 4m53s
Deploy Test / Run deploy test suite (pull_request) Successful in 5m14s
K8s Deploy Test / Run deploy test suite on kind/k8s (pull_request) Successful in 8m51s

This commit is contained in:
Vivian Phung 2024-07-22 14:52:21 +01:00
parent 32cbdc9008
commit 13303c3f7a
No known key found for this signature in database

View File

@ -42,6 +42,7 @@ if [ $? -ne 0 ]; then
npm i -g js-beautify npm i -g js-beautify
fi fi
# js-beautify formats NEXTJS_CONFIG_FILE (ie next.config.js / next.config.mjs) so we can easily insert the generated code.
js-beautify next.config.dist > "$NEXTJS_CONFIG_FILE" js-beautify next.config.dist > "$NEXTJS_CONFIG_FILE"
echo "" >> "$NEXTJS_CONFIG_FILE" echo "" >> "$NEXTJS_CONFIG_FILE"