(path)
| 8020 | } |
| 8021 | ts.removeTrailingDirectorySeparator = removeTrailingDirectorySeparator; |
| 8022 | function ensureTrailingDirectorySeparator(path) { |
| 8023 | if (!hasTrailingDirectorySeparator(path)) { |
| 8024 | return path + ts.directorySeparator; |
| 8025 | } |
| 8026 | return path; |
| 8027 | } |
| 8028 | ts.ensureTrailingDirectorySeparator = ensureTrailingDirectorySeparator; |
| 8029 | /** |
| 8030 | * Ensures a path is either absolute (prefixed with `/` or `c:`) or dot-relative (prefixed |
no test coverage detected