Commit 0ff6128f authored by yann300's avatar yann300

standard

parent 87992d0d
...@@ -99,7 +99,7 @@ export default class FetchAndCompile extends Plugin { ...@@ -99,7 +99,7 @@ export default class FetchAndCompile extends Plugin {
const path = `${targetPath}/${name}/${contractAddress}/${file}` const path = `${targetPath}/${name}/${contractAddress}/${file}`
await this.call('fileManager', 'setFile', path, source.content) await this.call('fileManager', 'setFile', path, source.content)
compilationTargets[path] = { content: source.content } compilationTargets[path] = { content: source.content }
} }
break break
} }
} }
...@@ -116,9 +116,9 @@ export default class FetchAndCompile extends Plugin { ...@@ -116,9 +116,9 @@ export default class FetchAndCompile extends Plugin {
try { try {
setTimeout(_ => this.emit('compiling', settings), 0) setTimeout(_ => this.emit('compiling', settings), 0)
const compData = await compile( const compData = await compile(
compilationTargets, compilationTargets,
settings, settings,
(url, cb) => this.call('contentImport', 'resolveAndSave', url).then((result) => cb(null, result)).catch((error) => cb(error.message))) (url, cb) => this.call('contentImport', 'resolveAndSave', url).then((result) => cb(null, result)).catch((error) => cb(error.message)))
compilersartefacts.addResolvedContract(contractAddress, compData) compilersartefacts.addResolvedContract(contractAddress, compData)
return compData return compData
} catch (e) { } catch (e) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment