Function
kv
(nameParts, value, decl = 'const')
Source from the content-addressed store, hash-verified
| 133 | // parts and the value via JSON.stringify, so the name-equals-quoted-value |
| 134 | // shape that secret scanners match never appears in this file's source. |
| 135 | function kv(nameParts, value, decl = 'const') { |
| 136 | return decl + ' ' + nameParts.join('') + ' = ' + JSON.stringify(value) + ';'; |
| 137 | } |
| 138 | |
| 139 | function main() { |
| 140 | console.log('\nCitadel Secrets Lens Test Suite\n' + '='.repeat(40)); |
Tested by
no test coverage detected