Refactor: CDN build prefer domainset

This commit is contained in:
SukkaW
2024-04-20 21:19:35 +08:00
parent 62dbbc1cbe
commit 74be7a31e8
6 changed files with 18 additions and 98 deletions

View File

@@ -66,7 +66,7 @@ const processFile = (span: Span, sourcePath: string) => {
try {
for await (const line of readFileByLine(sourcePath)) {
if (line === MAGIC_COMMAND_SKIP) {
if (line.startsWith(MAGIC_COMMAND_SKIP)) {
return null;
}