1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/development
Elliot Winkler b1b4e64ad0
Prevent Browserify error from being swallowed (#13647)
If an error occurs while running Browserify, the stream that Browserify
creates will emit an `error` event. However, this event is not being
handled, so Node will catch it instead. But the error message it
produces is very nebulous, as it merely spits out the stream object and
completely ignores the actual error that occurred. So this commit
listens for the `error` event and outputs the error.

One note here is that when we are outputting the error, we must get
around a bug that exists in Endo where if you pass an Error object to
`console.{log,error,info,debug}` then you will just see `{}` on-screen.
We get around this by printing `err.stack`.
2022-02-17 13:47:50 -07:00
..
build Prevent Browserify error from being swallowed (#13647) 2022-02-17 13:47:50 -07:00
highlights Add JSDoc ESLint rules (#12112) 2022-01-07 12:27:33 -03:30
lib Add JSDoc ESLint rules (#12112) 2022-01-07 12:27:33 -03:30
states
announcer.js
chromereload.js
create-static-server.js
empty.js
generate-lavamoat-policies.sh
generate-migration.sh
gource-viz.sh
jest.config.js Update Jest coverage reporters (#12845) 2021-12-01 15:16:34 -03:30
metamaskbot-build-announce.js Update ESLint config to v8 (#12886) 2021-12-09 15:36:24 -03:30
missing-locale-strings.js
mock-3box.js
mock-e2e.js E2e mocking (#13640) 2022-02-16 14:21:41 +00:00
mock-segment.js
README.md
run-ganache.sh Adding support for EIP-1559 in E2E tests (#13282) 2022-01-19 04:38:41 +05:30
sentry-publish.js
sentry-upload-artifacts.sh
shellcheck.sh
show-deps-install-scripts.js
source-map-explorer.sh
sourcemap-validator.js
static-server.js
stream-flat-map.js
verify-locale-strings.js

Development

Several files which are needed for developing on MetaMask.

Usually each file or directory contains information about its scope / usage.