Add help msg for JS formatting errors

This commit is contained in:
Deluan 2023-04-06 11:45:32 -04:00 committed by Joe Stump
parent 818791bf89
commit 232f6fcf69
No known key found for this signature in database
GPG Key ID: 29151C3EC48A0EB9

View File

@ -41,7 +41,8 @@ lint: ##@Development Lint Go code
.PHONY: lint
lintall: lint ##@Development Lint Go and JS code
@(cd ./ui && npm run check-formatting && npm run lint)
@(cd ./ui && npm run check-formatting) || (echo "\n\nPlease run 'npm run prettier' to fix formatting issues." && exit 1)
@(cd ./ui && npm run lint)
.PHONY: lintall
wire: check_go_env ##@Development Update Dependency Injection