ensure url are converted to path

pull/5370/head
yann300 2 years ago committed by Aniket
parent 334c342b53
commit e26b8faf47
  1. 5
      libs/remix-core-plugin/src/lib/compiler-artefacts.ts

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

Loading…
Cancel
Save