Explorar el Código

Accept improvement from @coderabbitai

Arend-Jan van Hilten hace 1 mes
padre
commit
19a6e2a08a
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3 1
      action.yml

+ 3 - 1
action.yml

@@ -147,7 +147,9 @@ runs:
         # copy os userpatches and custom
         mkdir -pv build/userpatches
         rsync -av os/userpatches/. build/userpatches/
-        [[ -d custom/userpatches ]] && rsync -av custom/userpatches/. build/userpatches/ || true # if that folder doesnt exist, don't fail the build
+        if [[ -d custom/userpatches ]]; then
+          rsync -av custom/userpatches/. build/userpatches/
+        fi
 
     - shell: bash
       run: |