(action: SessionAction)
| 169 | } |
| 170 | |
| 171 | function formatActionLine(action: SessionAction): string { |
| 172 | const parts: string[] = [action.command]; |
| 173 | const specialLine = formatSpecialActionLine(parts, action); |
| 174 | if (specialLine) return specialLine; |
| 175 | return formatPortableActionLine(action); |
| 176 | } |
| 177 | |
| 178 | function formatSpecialActionLine(parts: string[], action: SessionAction): string | undefined { |
| 179 | if (isClickLikeCommand(action.command)) { |
no test coverage detected