Skip to main content

command_uses_tool

Function command_uses_tool 

Source
pub fn command_uses_tool(root: &Path, command: &[String], tool: &str) -> bool
Expand description

Resolve npm/pnpm/yarn script indirection before identifying a runner. This is shared by discovery and the Rust-owned execution frontend so npm test receives exactly the same adapter decision as an explicit runner command.