Skip to content

Commit

Permalink
Fix comment
Browse files Browse the repository at this point in the history
Co-authored-by: David Ong <[email protected]>
  • Loading branch information
jq1836 and vvidday authored Sep 25, 2023
1 parent afb844c commit e3f02b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/c-ramp.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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 `;
Expand Down

0 comments on commit e3f02b0

Please sign in to comment.