(ctx)
| 420 | } |
| 421 | |
| 422 | function captureWorkingDirectory(ctx) { |
| 423 | if (!workspacePath && ctx?.session?.workingDirectory) { |
| 424 | workspacePath = ctx.session.workingDirectory; |
| 425 | } |
| 426 | } |
| 427 | |
| 428 | function cloneJson(value) { |
| 429 | return JSON.parse(JSON.stringify(value)); |