Merge pull request #63792 from vim88/fix_typo_in_comments

Fixes typo and occurrences of double words in comments.
This commit is contained in:
Peng Lyu
2018-11-28 10:54:52 -08:00
committed by GitHub
4 changed files with 7 additions and 7 deletions

View File

@@ -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);
}