()
| 18 | * which can be either global or local (in project's node_modules) |
| 19 | */ |
| 20 | export function getCLIPathHash(): string { |
| 21 | const cliPath = process.argv[1] |
| 22 | return crypto.createHash('sha256').update(cliPath).digest('hex').substring(0, 8) |
| 23 | } |
no test coverage detected