Skip to content

Commit 2be24a4

Browse files
fix(xcode): Add back accidentally deleted check
See #2057 (comment)
1 parent 9e81b91 commit 2be24a4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/commands/react_native/xcode.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,9 @@ pub fn wrap_call() -> Result<()> {
561561
if let (Ok(packager_sourcemap), Ok(mut hermes_sourcemap)) =
562562
(packager_sourcemap_result, hermes_sourcemap_result)
563563
{
564-
if !hermes_sourcemap.contains_key("debug_id") {
564+
if !hermes_sourcemap.contains_key("debugId")
565+
&& !hermes_sourcemap.contains_key("debug_id")
566+
{
565567
if let Some(debug_id) = packager_sourcemap
566568
.get("debugId")
567569
.or_else(|| packager_sourcemap.get("debug_id"))

0 commit comments

Comments
 (0)