watson / is-secret

A distributed maintained collection of patterns that indicate that something probably is secret

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Usage mistake

enten opened this issue · comments

isScecret.key() is used to check data value instead of isSecret.value().

- isSecret.key(data[key])) data[key] = '********'
+ isSecret.value(data[key])) data[key] = '********'

@enten Nicely spotted. Fixed and thanks 😃