@radhya/mach 2.1.9 → 2.1.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +10 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -429,6 +429,16 @@ if [ -f "yarn.lock" ]; then
|
|
|
429
429
|
else
|
|
430
430
|
npm install --no-audit --no-fund --prefer-offline
|
|
431
431
|
fi
|
|
432
|
+
INSTALL_EXIT_CODE=$?
|
|
433
|
+
if [ $INSTALL_EXIT_CODE -ne 0 ]; then
|
|
434
|
+
echo "\\n[SYSTEM] Dependency install failed with exit code $INSTALL_EXIT_CODE. Stopping before Expo prebuild/Gradle."
|
|
435
|
+
upload_logs
|
|
436
|
+
report_status "failed" "Dependency install failed with exit code $INSTALL_EXIT_CODE"
|
|
437
|
+
mark_done
|
|
438
|
+
sleep 5
|
|
439
|
+
sudo shutdown -h now
|
|
440
|
+
exit $INSTALL_EXIT_CODE
|
|
441
|
+
fi
|
|
432
442
|
clear_js_transform_caches
|
|
433
443
|
|
|
434
444
|
# --- Injected Version Code (Auto-versioning) ---
|