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

Fixes isseu #5074
  • Loading branch information
aikebah committed Nov 23, 2022
1 parent 48cbf82 commit 0935a0e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
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 0935a0e

Please sign in to comment.