(result)
| 584 | } |
| 585 | |
| 586 | export function toInstanceShellExports(result) { |
| 587 | return [ |
| 588 | toShellExports(result), |
| 589 | `export QUICKADD_E2E_OBSIDIAN_HOME=${shellQuote(result.obsidianHome)}`, |
| 590 | ].join("\n"); |
| 591 | } |
| 592 | |
| 593 | function shellQuote(value) { |
| 594 | return `'${String(value).replaceAll("'", "'\\''")}'`; |
no test coverage detected