mirror of
https://github.com/SukkaW/Surge.git
synced 2026-01-29 01:51:52 +08:00
Perf/Refactor: processHosts now returns string[]
This commit is contained in:
@@ -21,6 +21,5 @@ export const normalizeDomain = (domain: string) => {
|
||||
h = h.slice(sliceStart, sliceEnd);
|
||||
}
|
||||
|
||||
if (h) return h;
|
||||
return null;
|
||||
return h || null;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user