format patches

This commit is contained in:
zhouganqing 2023-02-17 11:10:56 +08:00
parent 595e51a16d
commit e82d53b4e9
2 changed files with 26 additions and 6 deletions

View File

@ -1,12 +1,20 @@
Description: ignore typescript ≥ 4.1 regression
Author: Xavier Guimard <yadd@debian.org>
From: Xavier Guimard <yadd@debian.org>
Date: Fri, 17 Feb 2023 11:10:56 +0800
Subject: =?utf-8?q?ignore_typescript_=E2=89=A5_4=2E1_regression?=
Bug-Debian: https://bugs.debian.org/975794
Forwarded: no
Last-Update: 2021-10-27
---
src/promisify.ts | 1 +
test/test.ts | 2 ++
2 files changed, 3 insertions(+)
diff --git a/src/promisify.ts b/src/promisify.ts
index 60cc662..3350ff9 100644
--- a/src/promisify.ts
+++ b/src/promisify.ts
@@ -24,6 +24,7 @@
@@ -24,6 +24,7 @@ export default function promisify(fn: LegacyCallback): AgentCallbackPromise {
if (err) {
reject(err);
} else {
@ -14,9 +22,11 @@ Last-Update: 2021-10-27
resolve(rtn);
}
}
diff --git a/test/test.ts b/test/test.ts
index 7c975de..5a5c808 100644
--- a/test/test.ts
+++ b/test/test.ts
@@ -250,6 +250,7 @@
@@ -250,6 +250,7 @@ describe('Agent (TypeScript)', () => {
await req({ agent, ...info });
} catch (err) {
gotError = true;
@ -24,7 +34,7 @@ Last-Update: 2021-10-27
assert.equal(err.message, 'bad');
}
@@ -277,6 +278,7 @@
@@ -277,6 +278,7 @@ describe('Agent (TypeScript)', () => {
await req({ agent, ...info });
} catch (err) {
gotError = true;

View File

@ -1,6 +1,16 @@
From: OpenKylin Developers <packaging@lists.openkylin.top>
Date: Fri, 17 Feb 2023 11:10:56 +0800
Subject: snakeoil-path
---
test/test.ts | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/test/test.ts b/test/test.ts
index baa7d6f..7c975de 100644
--- a/test/test.ts
+++ b/test/test.ts
@@ -27,8 +27,8 @@
@@ -27,8 +27,8 @@ const req = (opts: https.RequestOptions): Promise<http.IncomingMessage> => {
};
const sslOptions = {