Skip to content

Commit

Permalink
Handle NodeList
Browse files Browse the repository at this point in the history
Signed-off-by: Craig Perkins <cwperx@amazon.com>
  • Loading branch information
cwperks committed Nov 22, 2024
1 parent 744698c commit 1302917
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ class OptionalDependenciesPlugin implements Plugin<Project> {

if (foundDep) {
if (foundDep.optional) {
foundDep.optional.value = 'true'
foundDep.optional[0].value = 'true'

Check warning on line 82 in buildSrc/src/main/groovy/org/opensearch/gradle/plugin/OptionalDependenciesPlugin.groovy

View check run for this annotation

Codecov / codecov/patch

buildSrc/src/main/groovy/org/opensearch/gradle/plugin/OptionalDependenciesPlugin.groovy#L82

Added line #L82 was not covered by tests
} else {
foundDep.appendNode(OPTIONAL_IDENTIFIER, 'true')
}
Expand Down

0 comments on commit 1302917

Please sign in to comment.