(path: string)
| 615 | ) => Promise<string | undefined> | string | undefined |
| 616 | |
| 617 | function globSafePath(path: string) { |
| 618 | // slash path to ensure \ is converted to / as \ could lead to a double escape scenario |
| 619 | return escapePath(normalizePath(path)) |
| 620 | } |
| 621 | |
| 622 | function lastNthChar(str: string, n: number) { |
| 623 | return str.charAt(str.length - 1 - n) |
no test coverage detected