Fix environment variable injection (#15318)
The environment variables `IN_TEST` and `METAMASK_DEBUG` were not being set to `false` correctly. Instead those variables were being skipped, and were resolved to `undefined` at runtime. This is confusing because the other environment variables do not work that way - they can be set to false. The build script has been updated to ensure those two environment variables are always set to `true` or `false` - never `undefined`. Additionally, the `METAMASK_VERSION` environment variable was being omitted from the `app-init.js` bundle. For the sake of consistency, that has also been restored.feature/default_network_editable
parent
e280204287
commit
2bcc1c512c
Loading…
Reference in new issue