Another question: I am doing this in one of my fil...
# help
n
Another question: I am doing this in one of my files:
Copy code
script:
...
    def groupBuilder = new groovy.yaml.YamlBuilder()
    groupBuilder(groups)
and lint complains:
Copy code
Error modules/local/report/main.nf:63:5: `groupBuilder` is not defined
│  63 |     groupBuilder(groups)
ā•°     |     ^^^^^^^^^^^^
What should I change to avoid this?
n
so all i have to do is add
.call
?
m
Yes
n
thanks Mahesh!
šŸ‘šŸ½ 1