(
direct_executable_runnable: bool,
npm_exec_fallback: &Option<PathBuf>,
)
| 260 | } |
| 261 | |
| 262 | fn availability_mode( |
| 263 | direct_executable_runnable: bool, |
| 264 | npm_exec_fallback: &Option<PathBuf>, |
| 265 | ) -> &'static str { |
| 266 | if direct_executable_runnable { |
| 267 | "direct" |
| 268 | } else if npm_exec_fallback.is_some() { |
| 269 | "npm-exec" |
| 270 | } else { |
| 271 | "unavailable" |
| 272 | } |
| 273 | } |
no outgoing calls
no test coverage detected