update names

This commit is contained in:
Johannes Rieken
2019-11-01 17:03:56 +01:00
parent 36c3e8756c
commit 5a4e23fb31
3 changed files with 13 additions and 13 deletions

View File

@@ -57,7 +57,7 @@ class UpdateImportsOnFileRenameHandler extends Disposable {
) {
super();
this._register(vscode.workspace.onDidExecuteRenameFile(async (e) => {
this._register(vscode.workspace.onDidRenameFiles(async (e) => {
const [{ newUri, oldUri }] = e.renamed;
const newFilePath = this.client.toPath(newUri);
if (!newFilePath) {