(value: string | null | undefined)
| 1660 | } |
| 1661 | |
| 1662 | function normalizeToolPath(value: string | null | undefined): string | null { |
| 1663 | const trimmed = value?.trim() |
| 1664 | if (!trimmed) return null |
| 1665 | if (trimmed === '~') return app.getPath('home') |
| 1666 | if (trimmed.startsWith('~/')) return path.join(app.getPath('home'), trimmed.slice(2)) |
| 1667 | return trimmed |
| 1668 | } |
| 1669 | |
| 1670 | function normalizeVaultTextSearchToolPaths( |
| 1671 | paths: VaultTextSearchToolPaths | null | undefined |
no outgoing calls
no test coverage detected