Add help msg for JS formatting errors

This commit is contained in:
Deluan 2023-04-06 11:45:32 -04:00
parent 347424009d
commit 9628b1389d
1 changed files with 2 additions and 1 deletions

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