File tree 3 files changed +4
-4
lines changed
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ export class X509CertificateRequest extends CryptoCertificate implements core.Cr
108
108
protected parse ( data : ArrayBuffer ) : void {
109
109
try {
110
110
this . csr = new x509 . Pkcs10CertificateRequest ( data ) ;
111
- } catch ( e ) {
111
+ } catch {
112
112
throw new ParserError ( "Cannot parse PKCS10 certificate request" ) ;
113
113
}
114
114
}
Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ export class X509Certificate extends CryptoCertificate implements core.CryptoX50
128
128
protected parse ( data : ArrayBuffer ) : void {
129
129
try {
130
130
this . x509 = new x509 . X509Certificate ( data ) ;
131
- } catch ( e ) {
131
+ } catch {
132
132
throw new ParserError ( "Cannot parse X509 certificate" ) ;
133
133
}
134
134
}
Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ export class CryptoKey<T extends Pkcs11KeyAlgorithm = Pkcs11KeyAlgorithm> extend
120
120
try {
121
121
// Yubico throws CKR_ATTRIBUTE_TYPE_INVALID
122
122
this . extractable = key . extractable ;
123
- } catch ( e ) {
123
+ } catch {
124
124
this . extractable = false ;
125
125
}
126
126
this . usages = [ ] ;
@@ -160,7 +160,7 @@ export class CryptoKey<T extends Pkcs11KeyAlgorithm = Pkcs11KeyAlgorithm> extend
160
160
try {
161
161
// Yubico throws CKR_ATTRIBUTE_TYPE_INVALID
162
162
this . extractable = key . extractable ;
163
- } catch ( e ) {
163
+ } catch {
164
164
this . extractable = false ;
165
165
}
166
166
if ( key . sign ) {
You can’t perform that action at this time.
0 commit comments