From 9628b1389dc731dcc5f69b4e3ee04cefca91b444 Mon Sep 17 00:00:00 2001 From: Deluan Date: Thu, 6 Apr 2023 11:45:32 -0400 Subject: [PATCH] Add help msg for JS formatting errors --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 481add23..dbaae6c3 100644 --- a/Makefile +++ b/Makefile @@ -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