From b61e714110f6d303d07deb99dd05cdaccc7ecbea Mon Sep 17 00:00:00 2001 From: Aurelio Ogliari Date: Mon, 13 Mar 2017 15:46:59 +0000 Subject: [PATCH] Fix small typo in Blame Annotation --- src/blameAnnotationFormatter.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/blameAnnotationFormatter.ts b/src/blameAnnotationFormatter.ts index 3e23a28..973d1f0 100644 --- a/src/blameAnnotationFormatter.ts +++ b/src/blameAnnotationFormatter.ts @@ -89,7 +89,7 @@ export class BlameAnnotationFormatter { static getAuthor(config: IBlameConfig, commit: GitCommit, truncateTo: number = 0, force: boolean = false) { if (!force && !config.annotation.author) return ''; - const author = commit.isUncommitted ? 'Uncommited' : commit.author; + const author = commit.isUncommitted ? 'Uncommitted' : commit.author; if (!truncateTo) return author; if (author.length > truncateTo) { @@ -120,7 +120,7 @@ export class BlameAnnotationFormatter { static getMessage(config: IBlameConfig, commit: GitCommit, truncateTo: number = 0, force: boolean = false) { if (!force && !config.annotation.message) return ''; - let message = commit.isUncommitted ? 'Uncommited change' : commit.message; + let message = commit.isUncommitted ? 'Uncommitted change' : commit.message; if (truncateTo && message.length > truncateTo) { return `${message.substring(0, truncateTo - cssEllipse.length)}${cssEllipse}`; }