From aad874271077fb3bf603b4cd341071daf3f173ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=99=E6=8C=AF=E5=AE=87?= <> Date: Fri, 7 Feb 2025 15:24:29 +0800 Subject: [PATCH] fix(lint): declare deps variable with 'def' in ESLint class MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 孙振宇 <> --- .../src/com/freeleaps/devops/lint/ESLint.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/first-class-pipeline/src/com/freeleaps/devops/lint/ESLint.groovy b/first-class-pipeline/src/com/freeleaps/devops/lint/ESLint.groovy index 13a92d5b..1e525dcf 100644 --- a/first-class-pipeline/src/com/freeleaps/devops/lint/ESLint.groovy +++ b/first-class-pipeline/src/com/freeleaps/devops/lint/ESLint.groovy @@ -5,7 +5,7 @@ import com.freeleaps.devops.lint.LinterBase class ESLint extends LinterBase { - deps = [ + def deps = [ 'eslint-define-config', 'eslint-config-prettier', 'eslint-plugin-prettier',