Skip to content

Commit

Permalink
apply PR comment
Browse files Browse the repository at this point in the history
  • Loading branch information
vitpavlenko committed Dec 28, 2022
1 parent a91b2eb commit eba9755
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -446,8 +446,6 @@ For information about the governance of the Node.js project, see
**Rich Trott** <<[email protected]>> (he/him)
* [vdeturckheim](https://github.com/vdeturckheim) -
**Vladimir de Turckheim** <<[email protected]>> (he/him)
* [vitpavlenko](https://github.com/vitpavlenko) -
**Vitaliy Pavlenko** <<[email protected]>> (he/him)
* [VoltrexKeyva](https://github.com/VoltrexKeyva) -
**Mohammed Keyvanzadeh** <<[email protected]>> (he/him)
* [watilde](https://github.com/watilde) -
Expand Down
2 changes: 1 addition & 1 deletion lib/internal/crypto/cipher.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ const validateInputEncoding = (encoding) => {
function getDecoder(decoder, encoding) {
const normilizedEncoding = normalizeAndValidateEncoding(encoding);

decoder = decoder || new StringDecoder(normilizedEncoding);
decoder ||= new StringDecoder(normilizedEncoding);
assert(decoder.encoding === normilizedEncoding, 'Cannot change encoding');
return decoder;
}
Expand Down

0 comments on commit eba9755

Please sign in to comment.