(status, explicitGoal)
| 309 | } |
| 310 | |
| 311 | function inferRecommendedGoal(status, explicitGoal) { |
| 312 | if (explicitGoal && explicitGoal !== "next") { |
| 313 | return explicitGoal; |
| 314 | } |
| 315 | |
| 316 | if (status.hasUsageLog) { |
| 317 | return "measure"; |
| 318 | } |
| 319 | |
| 320 | if (status.hasBenchmarkConfig) { |
| 321 | return "benchmark"; |
| 322 | } |
| 323 | |
| 324 | return "evaluate"; |
| 325 | } |
| 326 | |
| 327 | function createEntry(goal, target, status) { |
| 328 | const commandTargetPath = formatCommandPath(target.path); |
no outgoing calls
no test coverage detected