Browse Source

Merge pull request #1179 from cyyhyq/master

修复powershell脚本在centos环境下执行失败问题
许雪里 6 năm trước cách đây
mục cha
commit
4dabb4b1a0

+ 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;