From e87d94dfa8e975bcdf9b1db6acff3a1c3006e5f9 Mon Sep 17 00:00:00 2001 From: "Brian R. Bondy" Date: Wed, 3 Jul 2019 00:21:54 -0400 Subject: [PATCH] Remove MeteMetrics process https://metamask.github.io Fix https://github.com/brave/brave-browser/issues/5110 --- brave/app/scripts/lib/setupMetamaskMeshMetrics.js | 1 + brave/gulpfile.js/brave-replace-paths.js | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100644 brave/app/scripts/lib/setupMetamaskMeshMetrics.js diff --git a/brave/app/scripts/lib/setupMetamaskMeshMetrics.js b/brave/app/scripts/lib/setupMetamaskMeshMetrics.js new file mode 100644 index 0000000000..0c0c42d5b5 --- /dev/null +++ b/brave/app/scripts/lib/setupMetamaskMeshMetrics.js @@ -0,0 +1 @@ +module.exports = () => {} diff --git a/brave/gulpfile.js/brave-replace-paths.js b/brave/gulpfile.js/brave-replace-paths.js index 8ffa336abc..f3330d3485 100644 --- a/brave/gulpfile.js/brave-replace-paths.js +++ b/brave/gulpfile.js/brave-replace-paths.js @@ -112,6 +112,12 @@ const createBraveReplacePathsTask = () => { `'${bravePrefix}ui/app/helpers/constants/routes'` ) ) + .pipe( + replace( + /'(.*)\/lib\/setupMetamaskMeshMetrics'/gm, + `'${bravePrefix}app/scripts/lib/setupMetamaskMeshMetrics'` + ) + ) .pipe(gulp.dest(file => file.base)) }) }