From 2dac099fe6937def82cbdb880f67c65cea5a1a37 Mon Sep 17 00:00:00 2001 From: Vyacheslav Rusakov Date: Fri, 5 Apr 2024 13:58:52 +0700 Subject: [PATCH] fix quality violation --- .../groovy/ru/vyarus/gradle/plugin/python/PythonPlugin.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/groovy/ru/vyarus/gradle/plugin/python/PythonPlugin.groovy b/src/main/groovy/ru/vyarus/gradle/plugin/python/PythonPlugin.groovy index e464709..b8f6bc9 100644 --- a/src/main/groovy/ru/vyarus/gradle/plugin/python/PythonPlugin.groovy +++ b/src/main/groovy/ru/vyarus/gradle/plugin/python/PythonPlugin.groovy @@ -132,7 +132,7 @@ abstract class PythonPlugin implements Plugin { File dir = project.file(path) boolean exists = dir.exists() task.delete path - task.onlyIf { exists} + task.onlyIf { exists } task.doLast { if (exists) { task.logger.lifecycle('[python] Environment removed: {}', dir.absolutePath)