|
|
@ -99,7 +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) |
|
|
|
reject(err) |
|
|
|
console.log(err) |
|
|
|
console.log(err) |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
var fileName = self._JSONFileName(path, contractName) |
|
|
|
var fileName = self._JSONFileName(path, contractName) |
|
|
|