Przeglądaj źródła

Merge branch 'master' into insider

Baptiste Augrain 1 rok temu
rodzic
commit
63dc9d739b
1 zmienionych plików z 3 dodań i 0 usunięć
  1. 3 0
      prepare_vscode.sh

+ 3 - 0
prepare_vscode.sh

@@ -26,6 +26,7 @@ for file in ../patches/*.patch; do
     echo applying patch: "${file}";
     if ! git apply --ignore-whitespace "${file}"; then
       echo failed to apply patch "${file}" >&2
+      exit 1
     fi
   fi
 done
@@ -36,6 +37,7 @@ if [[ "${VSCODE_QUALITY}" == "insider" ]]; then
       echo applying patch: "${file}";
       if ! git apply --ignore-whitespace "${file}"; then
         echo failed to apply patch "${file}" >&2
+        exit 1
       fi
     fi
   done
@@ -46,6 +48,7 @@ for file in ../patches/user/*.patch; do
     echo applying user patch: "${file}";
     if ! git apply --ignore-whitespace "${file}"; then
       echo failed to apply patch "${file}" >&2
+      exit 1
     fi
   fi
 done