924060929 commented on code in PR #9294:
URL: https://github.com/apache/incubator-doris/pull/9294#discussion_r861437990


##########
regression-test/framework/src/main/groovy/org/apache/doris/regression/RegressionTest.groovy:
##########
@@ -251,6 +253,30 @@ class RegressionTest {
         }
     }
 
+    static void loadPlugins(Config config) {
+        if (config.pluginPath.is(null) || config.pluginPath.isEmpty()) {
+            return
+        }
+        def pluginPath = new File(config.pluginPath)
+        if (!pluginPath.exists() && !pluginPath.isDirectory()) {

Review Comment:
   > maybe it should be
   > 
   > ```
   > !pluginPath.exists() || !pluginPath.isDirectory()
   > ```
   
   fixed



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to