mirror of
https://github.com/actions/setup-java.git
synced 2026-11-14 07:52:24 +00:00
Make Java problem matcher opt-in (#1326)
Default the problem-matcher input to false so setup-java no longer registers Java compiler and uncaught-exception annotations unless explicitly enabled with problem-matcher: true. Fixes #1322 Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
Vendored
+1
-1
@@ -36747,7 +36747,7 @@ async function getJavaDistribution(distributionName, installerOptions, jdkFile)
|
||||
|
||||
|
||||
function configureProblemMatcher(matcherPath) {
|
||||
const problemMatcherEnabled = (0,util/* getBooleanInput */.Vt)(constants/* INPUT_PROBLEM_MATCHER */.Wt, true);
|
||||
const problemMatcherEnabled = (0,util/* getBooleanInput */.Vt)(constants/* INPUT_PROBLEM_MATCHER */.Wt, false);
|
||||
if (!problemMatcherEnabled) {
|
||||
setup_java_core/* debug */.Yz('Java problem matcher is disabled');
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user