Skip to content

Commit 34605d1

Browse files
committed
Update error message
1 parent 7f765d0 commit 34605d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.eslintrc.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ module.exports = {
9393
{
9494
selector: "ImportDeclaration[source.value='crypto'] ImportSpecifier[imported.name='createHash']",
9595
message:
96-
'Avoid importing the "createHash" function from "crypto". Use "destination-actions/lib/hashing-utils" instead.'
96+
'The "destination-actions/lib/hashing-utils/processHashing" can autodetect prehashed values and avoid double hashing [https://github.com/segmentio/action-destinations/blob/139f434ff2828ed37c8f364f6ff9bb63dd3725d1/README.md?plain=1#L963]. Avoid importing the "createHash" function from "crypto"'
9797
}
9898
]
9999
}

0 commit comments

Comments
 (0)