|
|
@ -18,7 +18,7 @@ class CompilerMetadata { |
|
|
|
var path = self._opts.fileManager.currentPath() |
|
|
|
var path = self._opts.fileManager.currentPath() |
|
|
|
if (provider && path) { |
|
|
|
if (provider && path) { |
|
|
|
self._opts.compiler.visitContracts((contract) => { |
|
|
|
self._opts.compiler.visitContracts((contract) => { |
|
|
|
var fileNameDeploy = path + '/' + contract.name + '.deploy.json'
|
|
|
|
var fileNameDeploy = path + '/' + contract.name + '.deploy.json' |
|
|
|
provider.get(fileNameDeploy, (error, content) => { |
|
|
|
provider.get(fileNameDeploy, (error, content) => { |
|
|
|
if (!error) { |
|
|
|
if (!error) { |
|
|
|
content = content || '{}' |
|
|
|
content = content || '{}' |
|
|
|