Просмотр исходного кода

Update GlueTypeEnum.java

powershell后面有空格,导致在centos powershell core环境执行失败。
cyyhyq 6 лет назад
Родитель
Сommit
8ac3748ab5

+ 1 - 1
xxl-job-core/src/main/java/com/xxl/job/core/glue/GlueTypeEnum.java

@@ -11,7 +11,7 @@ public enum GlueTypeEnum {
     GLUE_PYTHON("GLUE(Python)", true, "python", ".py"),
     GLUE_PHP("GLUE(PHP)", true, "php", ".php"),
     GLUE_NODEJS("GLUE(Nodejs)", true, "node", ".js"),
-    GLUE_POWERSHELL("GLUE(PowerShell)", true, "powershell ", ".ps1");
+    GLUE_POWERSHELL("GLUE(PowerShell)", true, "powershell", ".ps1");
 
     private String desc;
     private boolean isScript;