Skip to content

Commit

Permalink
fix: skip renaming if react navigation patches folder is not found
Browse files Browse the repository at this point in the history
  • Loading branch information
pylixonly authored Nov 9, 2024
1 parent 990c4b1 commit 8d0750a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion patch.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@ func renameReactNavigationElementsFolder() error {
}

if reactNavigationPath == "" {
return fmt.Errorf("could not find the @react-navigation+elements folder")
log.Println("Could not find the @react-navigation+elements folder, skipping")
return nil
}

log.Println("Found the react-navigation+elements folder:\n\t", reactNavigationPath)
Expand Down

0 comments on commit 8d0750a

Please sign in to comment.