Skip to content

Commit

Permalink
Fix NSME in AbstractToolProvider.findToolPath
Browse files Browse the repository at this point in the history
Fixes #73
  • Loading branch information
VladRassokhin committed Dec 11, 2024
1 parent 7665fa2 commit ff028a1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ abstract class AbstractToolProvider(
LOG.warnAndDebugDetails("Failed to parse $configName version: ${e.message}", e)
null
}
}.maxBy { it.second }
}.maxByOrNull { it.second }
}

private fun getVersionCommandLine(toolPath: String): GeneralCommandLine {
Expand Down

0 comments on commit ff028a1

Please sign in to comment.