(dirPath: string | undefined)
| 6 | import { resolveInputPath } from "../../util/pathResolver"; |
| 7 | |
| 8 | export function resolveLsToolDirPath(dirPath: string | undefined) { |
| 9 | if (!dirPath || dirPath === ".") { |
| 10 | return "."; |
| 11 | } |
| 12 | return dirPath.replace(/\\/g, "/"); |
| 13 | } |
| 14 | |
| 15 | const MAX_LS_TOOL_LINES = 200; |
| 16 |
no test coverage detected