From 77462c5d7474c57469ee0d6df8514361830e71ea Mon Sep 17 00:00:00 2001 From: lowlighter <22963968+lowlighter@users.noreply.github.com> Date: Sun, 11 Dec 2022 22:40:49 -0500 Subject: [PATCH] fix(plugins/followup): possible negative width values [skip ci] --- source/templates/classic/partials/followup.ejs | 4 ++-- source/templates/repository/partials/followup.ejs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/source/templates/classic/partials/followup.ejs b/source/templates/classic/partials/followup.ejs index 95d4baa6..75edb2cd 100644 --- a/source/templates/classic/partials/followup.ejs +++ b/source/templates/classic/partials/followup.ejs @@ -36,7 +36,7 @@ {p:(skipped-collaborators.skipped)/count, fill:"#8B949E"}, {p:collaborators.skipped/count, fill:"#c9d1d9"}, ]) { %> - + <% x += p*width }} %> <% if ((plugins.followup.indepth)&&(section.issues.collaborators)) { %> @@ -105,7 +105,7 @@ {p:(merged-collaborators.merged)/count, fill:"#8957e5"}, {p:collaborators.merged/count, fill:"#d2a8ff"}, ]) { %> - + <% x += p*width }} %> <% if ((plugins.followup.indepth)&&(section.pr.collaborators)) { %> diff --git a/source/templates/repository/partials/followup.ejs b/source/templates/repository/partials/followup.ejs index 465e623a..4e8b7b5a 100644 --- a/source/templates/repository/partials/followup.ejs +++ b/source/templates/repository/partials/followup.ejs @@ -102,7 +102,7 @@ {p:(merged-collaborators.merged)/count, fill:"#8957e5"}, {p:collaborators.merged/count, fill:"#d2a8ff"}, ]) { %> - + <% x += p*width }} %> <% if ((plugins.followup.indepth)&&(section.pr.collaborators)) { %>