()
| 32 | let _writing = false; |
| 33 | |
| 34 | function getLogFilePath(): string { |
| 35 | if (!_logFilePath) { |
| 36 | _logFilePath = path.join(getUserHome(), '.teamai', 'debug.log'); |
| 37 | } |
| 38 | return _logFilePath; |
| 39 | } |
| 40 | |
| 41 | /** |
| 42 | * Ensure the parent directory of debug.log exists. |
no test coverage detected