browser console error fixed by mapping

pull/5370/head
Aniket-Engg 3 years ago committed by yann300
parent 973761224f
commit 9feca14950
  1. 5
      apps/remix-ide/src/app/files/fileProvider.js

@ -17,8 +17,9 @@ class FileProvider {
} }
addNormalizedName (path, url) { addNormalizedName (path, url) {
this.providerExternalsStorage.set(this.type + '/' + path, url) if (this.type) path = this.type + '/' + path
this.providerExternalsStorage.set(this.reverseKey + url, this.type + '/' + path) this.providerExternalsStorage.set(path, url)
this.providerExternalsStorage.set(this.reverseKey + url, path)
} }
removeNormalizedName (path) { removeNormalizedName (path) {

Loading…
Cancel
Save