From fedbac9e66bcfc1e0407441c4613947d30f3130f Mon Sep 17 00:00:00 2001 From: Mati Dastugue Date: Mon, 27 Jul 2020 19:04:52 -0300 Subject: [PATCH] Fix CI on github action desktop build (#1159) * Prevent failed CI if there is any warning * Update regex * Eslint error Co-authored-by: Mati Dastugue --- config-overrides.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config-overrides.js b/config-overrides.js index 35889ebf..dd45a035 100644 --- a/config-overrides.js +++ b/config-overrides.js @@ -5,7 +5,7 @@ module.exports = function override(config) { config.plugins = [] } config.plugins.push( - new webpack.ContextReplacementPlugin(/\/truffle-(contract|interface-adapter)\//, (data) => { + new webpack.ContextReplacementPlugin(/truffle-(contract|interface-adapter)/, (data) => { delete data.dependencies[0].critical return data }),