From 361918072012c8207a6b985bf55053dda2ef9741 Mon Sep 17 00:00:00 2001 From: "Joshua A. Horton" Date: Fri, 30 Jun 2023 12:58:35 +0700 Subject: [PATCH] chore(ios): a bit of suggested trim --- ios/engine/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ios/engine/build.sh b/ios/engine/build.sh index afae120b0e..ecb36d5072 100755 --- a/ios/engine/build.sh +++ b/ios/engine/build.sh @@ -114,8 +114,8 @@ function update_bundle ( ) { if builder_is_debug_build; then cp "$KMW_PRODUCT/keymanweb-webview.js.map" "$BUNDLE_PATH/keymanweb-webview.js.map" - elif [ -f "$BUNDLE_PATH/keymanweb-webview.js.map" ]; then - rm "$BUNDLE_PATH/keymanweb-webview.js.map" + else + rm -f "$BUNDLE_PATH/keymanweb-webview.js.map" fi cp "$KEYMAN_ROOT/node_modules/@sentry/browser/build/bundle.min.js" "$BUNDLE_PATH/sentry.min.js"