Skip to content

Commit

Permalink
fix(xcode): Add back accidentally deleted check
Browse files Browse the repository at this point in the history
  • Loading branch information
szokeasaurusrex committed May 2, 2024
1 parent 9e81b91 commit 2be24a4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/commands/react_native/xcode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,9 @@ pub fn wrap_call() -> Result<()> {
if let (Ok(packager_sourcemap), Ok(mut hermes_sourcemap)) =
(packager_sourcemap_result, hermes_sourcemap_result)
{
if !hermes_sourcemap.contains_key("debug_id") {
if !hermes_sourcemap.contains_key("debugId")
&& !hermes_sourcemap.contains_key("debug_id")
{
if let Some(debug_id) = packager_sourcemap
.get("debugId")
.or_else(|| packager_sourcemap.get("debug_id"))
Expand Down

0 comments on commit 2be24a4

Please sign in to comment.