mirror of
https://github.com/SukkaW/Surge.git
synced 2026-02-03 20:41:52 +08:00
Chore: build infra changes
This commit is contained in:
@@ -10,7 +10,7 @@ export function readFileByLine(file: string | BunFile) {
|
||||
return file.stream().pipeThrough(new PolyfillTextDecoderStream()).pipeThrough(new TextLineStream());
|
||||
}
|
||||
|
||||
export async function createReadlineInterfaceFromResponse(resp: Response) {
|
||||
export function createReadlineInterfaceFromResponse(resp: Response) {
|
||||
if (!resp.body) {
|
||||
throw new Error('Failed to fetch remote text');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user