expo / sentry-expo

MIT License
203 stars 83 forks source link

fix: only create bundle & map files for the specified platform when uploading sourcemaps #311

Open danshilm opened 1 year ago

danshilm commented 1 year ago

Checklist

Why

While the current hook works just fine, attempting to manually execute it when the sourcemaps for only one platform have been dumped & are being used in the hook, results in an error when trying to write the bundle & map files for the other platform.

How

Check which platform has been specified for the hook before writing bundle & map files.

Test Plan

Tested by running the hook manually.