[pve-devel] [PATCH pmg-gui 1/1] use 'pve-eslint' instead of 'eslint'

Dominik Csapak d.csapak at proxmox.com
Thu Jun 22 10:31:16 CEST 2023


since we changed the binary name

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 js/Makefile        | 4 ++--
 js/mobile/Makefile | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/js/Makefile b/js/Makefile
index fad2bd6..d0f02ff 100644
--- a/js/Makefile
+++ b/js/Makefile
@@ -106,7 +106,7 @@ OnlineHelpInfo.js: /usr/bin/asciidoc-pmg
 	mv $@.tmp $@
 
 .lint-incremental: ${JSSRC}
-	eslint $?
+	pve-eslint $?
 	touch "$@"
 
 .PHONY: lint
@@ -114,7 +114,7 @@ lint: .lint-incremental
 
 .PHONY: check
 check: ${JSSRC}
-	eslint --strict ${JSSRC}
+	pve-eslint --strict ${JSSRC}
 	touch ".lint-incremental"
 
 pmgmanagerlib.js: OnlineHelpInfo.js ${JSSRC}
diff --git a/js/mobile/Makefile b/js/mobile/Makefile
index 3e379d2..e63f179 100644
--- a/js/mobile/Makefile
+++ b/js/mobile/Makefile
@@ -10,7 +10,7 @@ MOBILESRC=				\
 	  app.js			\
 
 lint: pmgmanagerlib-mobile.js
-	eslint $^
+	pve-eslint $^
 
 .PHONY: check
 check: lint
-- 
2.30.2






More information about the pve-devel mailing list