Refactor file output

This commit is contained in:
SukkaW
2024-09-04 21:43:13 +08:00
parent 3e71107c2b
commit 0a6f28dcde
14 changed files with 40 additions and 38 deletions

View File

@@ -22,7 +22,7 @@ export const createRulesetForStreamService = (span: Span, fileId: string, title:
new Date(),
streamServices.flatMap((i) => i.rules),
'ruleset',
...output(fileId, 'non_ip')
output(fileId, 'non_ip')
),
// IP
createRuleset(
@@ -43,7 +43,7 @@ export const createRulesetForStreamService = (span: Span, fileId: string, title:
: []
)),
'ruleset',
...output(fileId, 'ip')
output(fileId, 'ip')
)
]));
};