Chore: improve trace output

This commit is contained in:
SukkaW
2025-03-02 00:28:44 +08:00
parent 64317794b0
commit 34c316f509
6 changed files with 33 additions and 16 deletions

View File

@@ -6,6 +6,8 @@ import { compareAndWriteFile } from '../create-file';
* date is written to a file.
*/
export abstract class BaseWriteStrategy {
public abstract readonly name: string;
/**
* Sometimes a ruleset will create extra files (e.g. reject-url-regex w/ mitm.sgmodule),
* and doesn't share the same filename and id. This property is used to overwrite the filename.