Fix a message about an undefined setting

`defining` seems to be the setting or a task that references `referencedKey`, not the other way around.
This commit is contained in:
nigredo-tori 2020-03-13 12:53:44 +07:00 committed by GitHub
parent 6c13017075
commit 11b7173ec7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -347,7 +347,7 @@ trait Init[ScopeType] {
extends RuntimeException("References to undefined settings at runtime.") {
override def getMessage =
super.getMessage + undefined.map { u =>
"\n" + u.defining + " referenced from " + u.referencedKey
"\n" + u.referencedKey + " referenced from " + u.defining
}.mkString
}