Skip to content

Commit eba9755

Browse files
committed
apply PR comment
1 parent a91b2eb commit eba9755

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -446,8 +446,6 @@ For information about the governance of the Node.js project, see
446446
**Rich Trott** <<rtrott@gmail.com>> (he/him)
447447
* [vdeturckheim](https://github.com/vdeturckheim) -
448448
**Vladimir de Turckheim** <<vlad2t@hotmail.com>> (he/him)
449-
* [vitpavlenko](https://github.com/vitpavlenko) -
450-
**Vitaliy Pavlenko** <<vitaliypavlenko01@gmail.com>> (he/him)
451449
* [VoltrexKeyva](https://github.com/VoltrexKeyva) -
452450
**Mohammed Keyvanzadeh** <<mohammadkeyvanzade94@gmail.com>> (he/him)
453451
* [watilde](https://github.com/watilde) -

lib/internal/crypto/cipher.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ const validateInputEncoding = (encoding) => {
114114
function getDecoder(decoder, encoding) {
115115
const normilizedEncoding = normalizeAndValidateEncoding(encoding);
116116

117-
decoder = decoder || new StringDecoder(normilizedEncoding);
117+
decoder ||= new StringDecoder(normilizedEncoding);
118118
assert(decoder.encoding === normilizedEncoding, 'Cannot change encoding');
119119
return decoder;
120120
}

0 commit comments

Comments
 (0)