pull/3094/head
yann300 6 years ago
parent 5698c11ef6
commit 48cdb3ff65
  1. 4
      src/app/files/compiler-metadata.js

@ -15,7 +15,7 @@ class CompilerMetadata {
var path = self._opts.fileManager.currentPath()
if (provider && path) {
self._opts.compiler.visitContracts((contract) => {
var fileName = path + contract.name + '.json'
var fileName = path + '/' + contract.name + '.json'
provider.get(fileName, (error, content) => {
if (!error) {
content = content || '{}'
@ -50,7 +50,7 @@ class CompilerMetadata {
var provider = self._opts.fileManager.currentFileProvider()
var path = self._opts.fileManager.currentPath()
if (provider && path) {
var fileName = path + contractName + '.json'
var fileName = path + '/' + contractName + '.json'
provider.get(fileName, (error, content) => {
if (error) return callback(error)
try {

Loading…
Cancel
Save