fix: compare loaderKind values
This commit is contained in:
parent
9a8b945b05
commit
b427d9e1ab
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue