([sources, destinations]: [
TypedSelection[],
TypedSelection[]
])
| 18 | } |
| 19 | |
| 20 | async run([sources, destinations]: [ |
| 21 | TypedSelection[], |
| 22 | TypedSelection[] |
| 23 | ]): Promise<ActionReturnValue> { |
| 24 | ensureSingleTarget(sources); |
| 25 | |
| 26 | const { returnValue: texts } = await this.graph.actions.getText.run( |
| 27 | [sources], |
| 28 | { |
| 29 | showDecorations: false, |
| 30 | } |
| 31 | ); |
| 32 | |
| 33 | return this.graph.actions.wrapWithPairedDelimiter.run( |
| 34 | [destinations], |
| 35 | texts[0] + "(", |
| 36 | ")" |
| 37 | ); |
| 38 | } |
| 39 | } |
nothing calls this directly
no test coverage detected