refactor(executeFreeleapsPipeline): update linter check to use component.linter instead of variable
Signed-off-by: 孙振宇 <>
This commit is contained in:
parent
69eaed1c6a
commit
18f4ae6f9a
@ -84,7 +84,7 @@ def generateComponentStages(component, configurations) {
|
||||
if (component.lintEnabled != null && component.lintEnabled) {
|
||||
log.info("Pipeline", "Code linting has enabled, preparing linter...")
|
||||
|
||||
if (linter == null || linter.isEmpty()) {
|
||||
if (component.linter == null || component.linter.isEmpty()) {
|
||||
log.error("Pipeline", "Not set linter for ${component.name}, using default linter settings as fallback")
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user