improve naming

pull/947/head
yann300 4 years ago committed by GitHub
parent e7b9a49579
commit 982da81a18
  1. 4
      apps/remix-ide/src/app/compiler/compiler-imports.js

@ -88,9 +88,9 @@ module.exports = class CompilerImports extends Plugin {
(error, content, cleanUrl, type, url) => {
if (error) return cb(error)
if (this.fileManager) {
const workspace = this.fileManager.currentFileProvider()
const provider = this.fileManager.currentFileProvider()
const path = targetPath || type + '/' + cleanUrl
if (workspace) workspace.addExternal('.deps/' + path, content, url)
if (provider) provider.addExternal('.deps/' + path, content, url)
}
cb(null, content)
})

Loading…
Cancel
Save