diff --git a/apps/remix-ide/src/app/files/fileProvider.js b/apps/remix-ide/src/app/files/fileProvider.js index 3a5f7754a8..f5f30fbf15 100644 --- a/apps/remix-ide/src/app/files/fileProvider.js +++ b/apps/remix-ide/src/app/files/fileProvider.js @@ -117,9 +117,9 @@ class FileProvider { return false } if (!exists) { - this.event.emit('fileAdded', this._normalizePath(this.addSlash(unprefixedpath)), false) + this.event.emit('fileAdded', this._normalizePath(unprefixedpath), false) } else { - this.event.emit('fileChanged', this._normalizePath(this.addSlash(unprefixedpath))) + this.event.emit('fileChanged', this._normalizePath(unprefixedpath)) } if (cb) cb() return true