(path: string)
| 41 | } |
| 42 | |
| 43 | function getRealPath(path: string): string { |
| 44 | try { |
| 45 | return fs.realpathSync(path); |
| 46 | } catch (_e) { |
| 47 | // If realpathSync fails, it might be because the path doesn't exist. |
| 48 | // In that case, we can fall back to the original path. |
| 49 | return path; |
| 50 | } |
| 51 | } |
| 52 | |
| 53 | /** |
| 54 | * Manages the connection to and interaction with the IDE server. |
no outgoing calls
no test coverage detected