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 <mdastugu@amazon.com>
This commit is contained in:
Mati Dastugue 2020-07-27 19:04:52 -03:00 committed by Mikhail
parent 90a8b3f630
commit fedbac9e66
1 changed files with 1 additions and 1 deletions

View File

@ -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
}),