RE: Use of "local" function in shared library

2020-09-09 Thread Jérôme Godbout
My bad typo: Out of curiosity, why don’t you pass the function as a argument to your call block? You could pass a functor there that will be reuse, so you do not need any env var or weird scope. This would give something like this to your call: defaultCiPipelineGeneric({ // previous stuff of bo

RE: Use of "local" function in shared library

2020-09-09 Thread Jérôme Godbout
Out of curiosity, why don’t you pass the function as a argument to your call block? You could pass a functor there that will be reuse, so you do not need any env var or weird scope. This would give something like this to your call: defaultCiPipelineGeneric({ // previous stuff of body goes here},