From dcd71ce2c48b0737c50a683a9ab015b5c9661a49 Mon Sep 17 00:00:00 2001 From: yann300 Date: Mon, 27 Apr 2020 12:12:14 +0200 Subject: [PATCH] fix path --- src/app/compiler/compiler-sourceVerifier-fetchAndCompile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/compiler/compiler-sourceVerifier-fetchAndCompile.js b/src/app/compiler/compiler-sourceVerifier-fetchAndCompile.js index 0cd7dee4ca..6c2e4046f0 100644 --- a/src/app/compiler/compiler-sourceVerifier-fetchAndCompile.js +++ b/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