We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f639c4a + 361e937 commit 15f6beaCopy full SHA for 15f6bea
test/Ported/HttpsTest.ts
@@ -280,7 +280,7 @@ async function extractCertificate(certificateRawData: CertificateRawData) {
280
if (entry.path.endsWith(".crt")) {
281
const entryText = await readToEnd(entry);
282
const lines = entryText.split(/\r?\n/);
283
- cert = lines.slice(1, - 2).join("\r\n");
+ cert = lines.slice(1, -1).join("\r\n");
284
break;
285
} else {
286
entry.autodrain();
0 commit comments