(parts: string[], action: SessionAction)
| 206 | } |
| 207 | |
| 208 | function formatFillActionLine(parts: string[], action: SessionAction): string | undefined { |
| 209 | const ref = action.positionals?.[0]; |
| 210 | if (!ref?.startsWith('@')) return undefined; |
| 211 | parts.push(formatScriptArg(ref)); |
| 212 | appendRefLabel(parts, action); |
| 213 | const text = action.positionals.slice(1).join(' '); |
| 214 | // Preserve explicit empty-string fill arguments. |
| 215 | if (action.positionals.length > 1) { |
| 216 | parts.push(formatScriptArg(text)); |
| 217 | } |
| 218 | appendScriptSeriesFlags(parts, action); |
| 219 | return parts.join(' '); |
| 220 | } |
| 221 | |
| 222 | function formatGetActionLine(parts: string[], action: SessionAction): string | undefined { |
| 223 | const sub = action.positionals?.[0]; |
no test coverage detected
searching dependent graphs…