Skip to content

Commit ad384a8

Browse files
committed
apply PR comment
1 parent 4570180 commit ad384a8

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** <<[email protected]>> (he/him)
447447
* [vdeturckheim](https://github.com/vdeturckheim) -
448448
**Vladimir de Turckheim** <<[email protected]>> (he/him)
449-
* [vitpavlenko](https://github.com/vitpavlenko) -
450-
**Vitaliy Pavlenko** <<[email protected]>> (he/him)
451449
* [VoltrexKeyva](https://github.com/VoltrexKeyva) -
452450
**Mohammed Keyvanzadeh** <<[email protected]>> (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)