Skip to content

Commit 61106ac

Browse files
Dmitry Rykunfacebook-github-bot
authored andcommitted
Fix react-native-xcode.sh build script
Summary: This diff fixes USE_HERMES checks. Changelog [iOS][Fixed] - USE_HERMES envvar check fixed in react-native-xcode.sh. Reviewed By: cipolleschi Differential Revision: D38704558 fbshipit-source-id: 90a8648fd1094fcf9ab085f37efce9b811e707bc
1 parent 0c2fe96 commit 61106ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/react-native-xcode.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ fi
129129

130130
PACKAGER_SOURCEMAP_FILE=
131131
if [[ $EMIT_SOURCEMAP == true ]]; then
132-
if [[ $USE_HERMES == true ]]; then
132+
if [[ $USE_HERMES != false ]]; then
133133
PACKAGER_SOURCEMAP_FILE="$CONFIGURATION_BUILD_DIR/$(basename $SOURCEMAP_FILE)"
134134
else
135135
PACKAGER_SOURCEMAP_FILE="$SOURCEMAP_FILE"
@@ -138,7 +138,7 @@ if [[ $EMIT_SOURCEMAP == true ]]; then
138138
fi
139139

140140
# Hermes doesn't require JS minification.
141-
if [[ $USE_HERMES == true && $DEV == false ]]; then
141+
if [[ $USE_HERMES != false && $DEV == false ]]; then
142142
EXTRA_ARGS="$EXTRA_ARGS --minify false"
143143
fi
144144

0 commit comments

Comments
 (0)