From 58192891070b170f72685395688a8206113351a6 Mon Sep 17 00:00:00 2001 From: yann300 Date: Wed, 22 Jan 2020 17:36:59 +0100 Subject: [PATCH] fix typo --- src/app/files/compiler-metadata.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/files/compiler-metadata.js b/src/app/files/compiler-metadata.js index 0e20516a38..9f874dba5b 100644 --- a/src/app/files/compiler-metadata.js +++ b/src/app/files/compiler-metadata.js @@ -99,7 +99,7 @@ class CompilerMetadata extends Plugin { if (provider && path) { self.executionContext.detectNetwork((err, { id, name } = {}) => { if (err) { - reject(error) + reject(err) console.log(err) } else { var fileName = self._JSONFileName(path, contractName)