(pathToUpdate)
| 139454 | : updatedPath; |
| 139455 | }; |
| 139456 | function getUpdatedPath(pathToUpdate) { |
| 139457 | if (getCanonicalFileName(pathToUpdate) === canonicalOldPath) |
| 139458 | return newFileOrDirPath; |
| 139459 | var suffix = ts.tryRemoveDirectoryPrefix(pathToUpdate, canonicalOldPath, getCanonicalFileName); |
| 139460 | return suffix === undefined ? undefined : newFileOrDirPath + "/" + suffix; |
| 139461 | } |
| 139462 | } |
| 139463 | ts.getPathUpdater = getPathUpdater; |
| 139464 | // Relative path from a0 to b0 should be same as relative path from a1 to b1. Returns b1. |
no test coverage detected