You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
evaluator EvaluateOutputFiles fails with the following error:
–– Pkl Error ––
Cannot find method `toMap` in class `Null`.
1 | output.files.toMap().mapValues((_, it) -> it.text)
^^^^^^^^^^^^^^^^^^^^
at (repl:text)
Available methods in class `Null`:
getClass
ifNonNull
toString
to replace err := e.EvaluateExpression(ctx, source, "output.files.toMap().mapValues((_, it) -> it.text)", &out) to achieve return an empty map in this case.
evaluator
EvaluateOutputFiles
fails with the following error:when evaluating the following document:
The text was updated successfully, but these errors were encountered: