Skip to content

Commit 9b58b79

Browse files
tniessentargos
authored andcommitted
crypto: rename symbols to match guidelines
PR-URL: #22770 Refs: #22684 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent ff17b39 commit 9b58b79

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/internal/crypto/hash.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ const { inherits } = require('util');
2323
const { normalizeEncoding } = require('internal/util');
2424
const { isArrayBufferView } = require('internal/util/types');
2525
const LazyTransform = require('internal/streams/lazy_transform');
26-
const kState = Symbol('state');
27-
const kFinalized = Symbol('finalized');
26+
const kState = Symbol('kState');
27+
const kFinalized = Symbol('kFinalized');
2828

2929
function Hash(algorithm, options) {
3030
if (!(this instanceof Hash))

0 commit comments

Comments
 (0)