diff --git a/README.md b/README.md index 90d3b812..2763ff61 100644 --- a/README.md +++ b/README.md @@ -104,10 +104,10 @@ Here are all of the extension settings with their default values. To change any // Priority of encoding "svn.experimental.encoding_priority": [], - // Url for the gravitar icon using the , and placeholders + // Url for the gravatar icon using the , and placeholders "svn.gravatar.icon_url": "https://www.gravatar.com/avatar/.jpg?s=&d=robohash", - // Use garavatar icons in log viewers + // Use gravatar icons in log viewers "svn.gravatars.enabled": true, // Ignores the warning when SVN is missing diff --git a/package.json b/package.json index b4998738..a5b64e8f 100644 --- a/package.json +++ b/package.json @@ -1073,7 +1073,7 @@ }, "svn.gravatar.icon_url": { "type": "string", - "description": "Url for the gravitar icon using the , and placeholders", + "description": "Url for the gravatar icon using the , and placeholders", "examples": [ "https://www.gravatar.com/avatar/.jpg?s=&d=https%3A%2F%2Fui-avatars.com%2Fapi%2F//128" ], @@ -1081,7 +1081,7 @@ }, "svn.gravatars.enabled": { "type": "boolean", - "description": "Use garavatar icons in log viewers", + "description": "Use gravatar icons in log viewers", "default": true }, "svn.ignoreMissingSvnWarning": { diff --git a/src/historyView/common.ts b/src/historyView/common.ts index c529352e..3afd05b6 100644 --- a/src/historyView/common.ts +++ b/src/historyView/common.ts @@ -216,13 +216,13 @@ export function getCommitIcon( return gravatar; } - const gravitarUrl = configuration + const gravatarUrl = configuration .get("gravatar.icon_url", "") .replace("", author) .replace("", md5(author)) .replace("", size.toString()); - gravatar = Uri.parse(gravitarUrl); + gravatar = Uri.parse(gravatarUrl); gravatarCache.set(author, gravatar);