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