()
| 55 | } |
| 56 | |
| 57 | getDescription(): string { |
| 58 | let description = `${this.params.command}`; |
| 59 | // append optional [in directory] |
| 60 | // note description is needed even if validation fails due to absolute path |
| 61 | if (this.params.directory) { |
| 62 | description += ` [in ${this.params.directory}]`; |
| 63 | } |
| 64 | // append optional (description), replacing any line breaks with spaces |
| 65 | if (this.params.description) { |
| 66 | description += ` (${this.params.description.replace(/\n/g, ' ')})`; |
| 67 | } |
| 68 | return description; |
| 69 | } |
| 70 | |
| 71 | override async shouldConfirmExecute( |
| 72 | _abortSignal: AbortSignal, |
nothing calls this directly
no outgoing calls
no test coverage detected