浏览代码

Fix condition check for patches array length

jimsterino98 4 月之前
父节点
当前提交
54466f13a0
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      .github/actions/susfs-patches/action.yml

+ 1 - 1
.github/actions/susfs-patches/action.yml

@@ -62,7 +62,7 @@ runs:
       shopt -s nullglob
       patches=("KERNEL_PATCHES/samsung/${{ inputs.branch }}"/*.patch)
       
-      if [${patches[@]}" -gt 0 ]; then
+      if [${patches[@]} -gt 0 ]; then
        echo "Patches found, applying..."
        cp "${patches[@]}" ./