Skip to content

Commit 15f6bea

Browse files
authored
Merge pull request #497 from M4xymm/RDBC-963
RDBC-963 Fix failing crud certificate test in node.js sdk
2 parents f639c4a + 361e937 commit 15f6bea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Ported/HttpsTest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ async function extractCertificate(certificateRawData: CertificateRawData) {
280280
if (entry.path.endsWith(".crt")) {
281281
const entryText = await readToEnd(entry);
282282
const lines = entryText.split(/\r?\n/);
283-
cert = lines.slice(1, - 2).join("\r\n");
283+
cert = lines.slice(1, -1).join("\r\n");
284284
break;
285285
} else {
286286
entry.autodrain();

0 commit comments

Comments
 (0)