Skip to content

Commit 9cf8415

Browse files
Fix license file validation (#119)
1 parent 4f74991 commit 9cf8415

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gradle-modules/src/main/kotlin/org.sonarsource.cloud-native.license-file-generator.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ tasks.register("validateLicenseFiles") {
6868
dependsOn("generateLicenseReport")
6969

7070
doLast {
71-
val thirdPartyLicenseEquality = !areDirectoriesEqual(buildLicenseOutputToCopyDir.asFile, resourceThirdPartyDir.asFile, logger)
71+
val thirdPartyLicenseEquality = areDirectoriesEqual(buildLicenseOutputToCopyDir.asFile, resourceThirdPartyDir.asFile, logger)
7272
val sonarLicenseFile = licenseGenerationConfig.projectLicenseFile.get()
7373
val sonarLicenseFileEquality =
7474
areFilesEqual(sonarLicenseFile, resourceLicenseDir.file("LICENSE.txt").asFile, File("LICENSE.txt"), logger)

0 commit comments

Comments
 (0)