|
|
@ -99,6 +99,7 @@ class CompilerMetadata extends Plugin { |
|
|
|
if (provider && path) { |
|
|
|
if (provider && path) { |
|
|
|
self.executionContext.detectNetwork((err, { id, name } = {}) => { |
|
|
|
self.executionContext.detectNetwork((err, { id, name } = {}) => { |
|
|
|
if (err) { |
|
|
|
if (err) { |
|
|
|
|
|
|
|
reject(error) |
|
|
|
console.log(err) |
|
|
|
console.log(err) |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
var fileName = self._JSONFileName(path, contractName) |
|
|
|
var fileName = self._JSONFileName(path, contractName) |
|
|
|