1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 01:39:44 +01:00
metamask-extension/patches/plugin-error+1.0.1.patch
Etienne Dusseault f196c9feb8
Add Lavamoat to build system (#9939)
* lavamoat - run build system in lavamoat

* lavamoat/allow-scripts - add missing policy entry

* update viz and lavvamoat

* trim policy file

* bump viz

* prue policy override

* regen policy file

* Update package.json

* Update package.json

* Apply suggestions from code review

Co-authored-by: kumavis <kumavis@users.noreply.github.com>

* update policy, remove redundant patches

* use yarn setup in CI

Co-authored-by: kumavis <aaron@kumavis.me>
Co-authored-by: kumavis <kumavis@users.noreply.github.com>
2021-02-22 22:43:29 +08:00

13 lines
473 B
Diff

diff --git a/node_modules/plugin-error/index.js b/node_modules/plugin-error/index.js
index a4d360d..d2be4a2 100644
--- a/node_modules/plugin-error/index.js
+++ b/node_modules/plugin-error/index.js
@@ -54,7 +54,6 @@ function PluginError(plugin, message, options) {
return this._messageWithDetails() + '\nStack:';
}.bind(this);
- Error.captureStackTrace(safety, arguments.callee || this.constructor);
this.__safety = safety;
}
if (!this.plugin) {