Skip to content

Commit

Permalink
fix: Change dotnet invocation for 'detection on system path' to --inf…
Browse files Browse the repository at this point in the history
…o to support runtime-only installs of dotnet (#5087)

Fixes isseu #5074
  • Loading branch information
aikebah committed Nov 25, 2022
1 parent 48cbf82 commit bb8dae6
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -468,7 +468,7 @@ protected String getAnalyzerEnabledSettingKey() {
private boolean isDotnetPath() {
final String[] args = new String[2];
args[0] = "dotnet";
args[1] = "--version";
args[1] = "--info";
final ProcessBuilder pb = new ProcessBuilder(args);
try {
final Process proc = pb.start();
Expand Down

0 comments on commit bb8dae6

Please sign in to comment.