mirror of
https://github.com/SukkaW/Surge.git
synced 2026-07-29 17:31:46 +08:00
Make ESLint Happy
This commit is contained in:
@@ -28,7 +28,7 @@ import { xxhash3 } from 'hash-wasm';
|
||||
if (file.startsWith('domainset' + path.sep)) {
|
||||
await runHash((await readFileIntoProcessedArray(fullpath)).map(i => (i[0] === '.' ? i.slice(1) : i)));
|
||||
} else if (file.startsWith('non_ip' + path.sep)) {
|
||||
await runHash((await readFileIntoProcessedArray(fullpath)).map(i => i.split(',')[1]));
|
||||
await runHash((await readFileIntoProcessedArray(fullpath)).map(i => i.split(',', 2)[1]));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user