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.
1 parent 639cdfc commit e20111cCopy full SHA for e20111c
src/rules/requests/request-step-impls.ts
@@ -446,7 +446,11 @@ export class PassThroughStepImpl extends PassThroughStep {
446
if (!this.extraCACertificates.length) return undefined;
447
448
if (!this._trustedCACertificates) {
449
- this._trustedCACertificates = getTrustedCAs(undefined, this.extraCACertificates);
+ this._trustedCACertificates = getTrustedCAs(undefined, this.extraCACertificates)
450
+ .then((certs) => {
451
+ this._trustedCACertificates = certs; // Unwrap the promise
452
+ return certs;
453
+ });
454
}
455
456
return this._trustedCACertificates;
0 commit comments