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 GitHub
parent f62bbffdd3
commit 8091a9dc77
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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
}),