The executable name.
(&self)
| 13 | impl JsRuntime { |
| 14 | /// The executable name. |
| 15 | pub fn command(&self) -> &'static str { |
| 16 | match self { |
| 17 | Self::Bun => "bun", |
| 18 | Self::Deno => "deno", |
| 19 | Self::Node => "node", |
| 20 | } |
| 21 | } |
| 22 | |
| 23 | /// Arguments to run a TS file. |
| 24 | pub fn run_args(&self, script: &str) -> Vec<String> { |
no outgoing calls
no test coverage detected