gui: markNewPartners' comment is shorter, so app.js is in its budget again (#3367)

ef3b9f85a put app.js 20 bytes over TestCoreScriptBudget (1326125 >
1326105, core 1537036 > 1537016) and its record ran only the GUI files,
not internal/gui's Go tests. The comment it added is 33 bytes shorter
now; no code changes and the budget stays as it is.

Run at origin/main 3173440ca + this change: go test ./internal/gui/
-count=1 ok (104s), app.js 1326092 bytes; gofmt -l clean.
This commit is contained in:
yetone
2026-10-26 01:20:42 +08:00
parent 3173440ca3
commit 42ec2700bd
+2 -2
View File
@@ -7633,8 +7633,8 @@ function countPartner(what, ids) {
// a partner listed since the add sheet last showed the partners puts a
// small dot on the add button, its name in the button's title, until the
// sheet shows it (yetone: 有了新的合作伙伴的时候…提醒吸引用户点击查看),
// and a still one on Providers in the sidebar, as Plugins has for an
// update, so it is seen from any page (yetone: 侧边栏…不要太打扰用户)
// and a still one on Providers in the nav, as Plugins has for an update
// (yetone: 侧边栏…不要太打扰用户)
function markNewPartners() {
const list = providers || providersEarly?.got;
const fresh = adding ? [] : (list?.presets || []).filter((p) => p.kind === "partner" && p.new && !p.added && partnerShown(p));