only fileName as path

pull/2112/head
aniket-engg 3 years ago committed by Aniket
parent 7f4a47afff
commit 52f5e76898
  1. 4
      libs/remix-core-plugin/src/lib/compiler-metadata.ts

@ -27,7 +27,9 @@ export class CompilerMetadata extends Plugin {
}
_OutputFileName (path, target) {
return this.joinPath(path, this.innerPath, 'output/' + target.replace(/\//g, '_') + '.json')
const paths = target.split('/')
const fileName = paths[paths.length - 1]
return this.joinPath(path, this.innerPath, 'output/' + fileName + '.json')
}
onActivation () {

Loading…
Cancel
Save