ensure url are converted to path

pull/3418/head
yann300 2 years ago committed by Aniket
parent 3612222f67
commit 21195e4661
  1. 5
      libs/remix-core-plugin/src/lib/compiler-artefacts.ts

@ -194,8 +194,9 @@ export class CompilerArtefacts extends Plugin {
}
}
getCompilerAbstract (file) {
return this.compilersArtefactsPerFile[file]
async getCompilerAbstract (file) {
const path = await this.call('fileManager', 'getPathFromUrl', file)
return this.compilersArtefactsPerFile[path.file]
}
addResolvedContract (address: string, compilerData: CompilerAbstract) {

Loading…
Cancel
Save