diff --git a/apps/remix-ide/src/app/files/fileManager.ts b/apps/remix-ide/src/app/files/fileManager.ts index 920501a866..a821ced648 100644 --- a/apps/remix-ide/src/app/files/fileManager.ts +++ b/apps/remix-ide/src/app/files/fileManager.ts @@ -271,7 +271,7 @@ class FileManager extends Plugin { } else { const ret = await this.setFileContent(path, data) this.emit('fileAdded', path) - return { newContent: ret, newpath: path } + return { newContent: ret, newPath: path } } } catch (e) { throw new Error(e)