Skip to content

Commit 79d2536

Browse files
committed
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 711445b commit 79d2536

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
@@ -25,8 +25,8 @@ const { inherits } = require('util');
2525
const { normalizeEncoding } = require('internal/util');
2626
const { isArrayBufferView } = require('internal/util/types');
2727
const LazyTransform = require('internal/streams/lazy_transform');
28-
const kState = Symbol('state');
29-
const kFinalized = Symbol('finalized');
28+
const kState = Symbol('kState');
29+
const kFinalized = Symbol('kFinalized');
3030

3131
function Hash(algorithm, options) {
3232
if (!(this instanceof Hash))

0 commit comments

Comments
 (0)