Chore: short circut output content hash comparision on CI

This commit is contained in:
SukkaW
2026-08-01 13:23:50 +08:00
parent 76bb899102
commit 879c95f744
3 changed files with 26 additions and 1 deletions

View File

@@ -154,6 +154,9 @@ export class SurgeMitmSgmodule extends BaseWriteStrategy {
private readonly rules = new Set<string>();
// #!desc only carries a size derived from the rules, no volatile date
protected override readonly skipCompareOnCI = true;
protected get result() {
if (this.rules.size === 0) {
return null;