chore: eslint

This commit is contained in:
pk5ls20 committed 2024-11-14 13:29:39 +08:00
1 parent dec9b51f58
commit 73931588fd
1 file changed
+1 -1
+1 -1
View File
@@ -8,7 +8,7 @@ export class RequestUtil {
const client = url.startsWith('https') ? https : http; const client = url.startsWith('https') ? https : http;
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
const req = client.get(url, (res) => { const req = client.get(url, (res) => {
let cookies: { [key: string]: string } = {}; const cookies: { [key: string]: string } = {};
res.on('data', () => { }); // Necessary to consume the stream res.on('data', () => { }); // Necessary to consume the stream
res.on('end', () => { res.on('end', () => {