(config: any)
| 60 | } |
| 61 | |
| 62 | function getRawConfigHash(config: any) { |
| 63 | return encodeBuffer(utils.getBinaryHash(JSON.stringify(config), FILE_HASH_VERSION)); |
| 64 | } |
| 65 | |
| 66 | export function getSafeHash(inputConfig: Record<string, any>) { |
| 67 | // Reject anything that isn't a non-null object up-front. Spread of a string |
no test coverage detected