瀏覽代碼

Merge pull request #1179 from cyyhyq/master

修复powershell脚本在centos环境下执行失败问题
许雪里 6 年之前
父節點
當前提交
4dabb4b1a0
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      xxl-job-core/src/main/java/com/xxl/job/core/glue/GlueTypeEnum.java

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