Unverified Commit 36377f6a authored by yann300's avatar yann300 Committed by GitHub

Merge pull request #2551 from ethereum/yann300-patch-4

added missing `reject`
parents a1d7198c b0e778f0
......@@ -98,6 +98,7 @@ class CompilerMetadata extends Plugin {
this.blockchain.detectNetwork((err, { id, name } = {}) => {
if (err) {
console.log(err)
reject(err)
} else {
var fileName = this._JSONFileName(path, contractName)
provider.get(fileName, (error, content) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment