fix: compare loaderKind values
ci/woodpecker/push/gradle Pipeline was successful Details
ci/woodpecker/push/pages Pipeline was successful Details

This commit is contained in:
Johannes Frohnmeyer 2024-03-21 13:26:56 +01:00
parent 9a8b945b05
commit b427d9e1ab
Signed by: Johannes
GPG Key ID: E76429612C2929F4
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ interface LomExtension {
}
fun copyFrom(ext: LomExtension) {
if (loaderKind != ext.loaderKind) {
if (loaderKind.get() != ext.loaderKind.get()) {
throw IllegalArgumentException("Cannot copy from a config meant for a different loader")
}
yarnBuild.set(ext.yarnBuild)