From e3f02b07e0735f2cce16183591f89e170387adcb Mon Sep 17 00:00:00 2001 From: jq1836 <95712150+jq1836@users.noreply.github.com> Date: Mon, 25 Sep 2023 22:50:32 +0800 Subject: [PATCH] Fix comment Co-authored-by: David Ong <45852430+vvidday@users.noreply.github.com> --- frontend/src/components/c-ramp.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/c-ramp.vue b/frontend/src/components/c-ramp.vue index f602a078a9..20883d9193 100644 --- a/frontend/src/components/c-ramp.vue +++ b/frontend/src/components/c-ramp.vue @@ -125,7 +125,7 @@ export default defineComponent({ const newSize = 100 * (slice.insertions / +this.avgsize); return Math.max(newSize * this.rampSize, 0.5); }, - // commit of type CommitResult must be provided if tframe === 'commit', only pass null if tframe !== 'commit + // commit of type CommitResult must be provided if tframe === 'commit', only pass null if tframe !== 'commit' getContributionMessage(slice: Commit, commit: CommitResult | null) { if (this.tframe === 'commit' && commit !== null) { return `[${slice.date}] ${commit.messageTitle}: +${commit.insertions} -${commit.deletions} lines `;