Skip to content

Commit

Permalink
fix_golangcilint_empty_result_error
Browse files Browse the repository at this point in the history
  • Loading branch information
random1223 committed Aug 29, 2024
1 parent 5d7fc4d commit ed2aa2e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public List<CodeAnalysisResultDto> analyzeCode(AnalyzerConfigurationDetailDto ru
}

CodeAnalysisResultDto resultDto = new CodeAnalysisResultDto(runnerConfiguration.getLanguage(), runnerConfiguration.getCodeAnalyzerType());
resultDto.setDisplayTitle("IaC issues");
resultDto.setDisplayTitle("IaC");
resultDto.addIssues(codeAnalysisIssueDtoList);
list.add(resultDto);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,6 @@ public List<CodeAnalysisResultDto> analyzeCode(AnalyzerConfigurationDetailDto ru
} else {
cmdList.add("--enable-all");
}
// for (File file : goModules) {
// cmdList.add(file.getName() + "/...");
// }

cmdList.add( "./...");

Expand Down

0 comments on commit ed2aa2e

Please sign in to comment.