Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(expo): pnpm+workspace build (#28209)
## Current Behavior build executors for expo crash when package manager pnpm and workspaces are used ## Expected Behavior no crashies ## Related Issue(s) #28208 Fixes #28208 ## FAQ - why not handle the `undefined` by the calling code instead The less the calling code knows about inner workings, the better: in this case, doing this would add the implicit dependency on "pnpm and workspaces" to the calling code - but it's an empty function, my performance We call it once per user interaction. - but still, it's an empty function We return an `empty array` when there are no elements; we don't return `undefined` when the array is empty and `array` when array is non-empty. Hopefully so. - but, The doc also says that this function returns a function.
- Loading branch information