mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-23 19:59:37 +00:00
Merge pull request #63792 from vim88/fix_typo_in_comments
Fixes typo and occurrences of double words in comments.
This commit is contained in:
@@ -115,7 +115,7 @@ class TypeScriptRenameProvider implements vscode.RenameProvider {
|
||||
newName: string,
|
||||
token: vscode.CancellationToken,
|
||||
): Promise<vscode.WorkspaceEdit | undefined> {
|
||||
// Make sure we preserve file exension if none provided
|
||||
// Make sure we preserve file extension if none provided
|
||||
if (!path.extname(newName)) {
|
||||
newName += path.extname(fileToRename);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user