pull/1/head
yann300 5 years ago
parent a785e040c0
commit 13b32a8666
  1. 2
      src/app/compiler/compiler-sourceVerifier-fetchAndCompile.js

@ -95,7 +95,7 @@ export default class FetchAndCompile extends Plugin {
let stdUrl = `ipfs://${url.split('/')[2]}`
const source = await this.call('contentImport', 'resolve', stdUrl)
file = file.replace('browser/', '') // should be fixed in the remix IDE end.
const path = `${targetPath}/${contractAddress}/${file}`
const path = `${targetPath}/${name}/${contractAddress}/${file}`
await this.call('fileManager', 'setFile', path, source.content)
compilationTargets[path] = { content: source.content }
break

Loading…
Cancel
Save