(args, options = {})
| 838 | } |
| 839 | |
| 840 | function simdeckJson(args, options = {}) { |
| 841 | return JSON.parse( |
| 842 | runText(simdeck, ["--server-url", session.endpoint, ...args], options), |
| 843 | ); |
| 844 | } |
| 845 | |
| 846 | function runText(command, args, options = {}) { |
| 847 | return runBuffer(command, args, options).toString("utf8").trim(); |
no test coverage detected