mach icon indicating copy to clipboard operation
mach copied to clipboard

destructuring in mach/props

Open stijnopheide opened this issue 8 years ago • 1 comments

Keys destructuring in mach/props doesn't create a globally accessible variable.

{mach/props [{:keys [datomic-user datomic-password aws-access-key aws-secret-key]} (aero.core/read-config "config.edn" {})]}

It is possible to use these local vars inside of mach/props, but not in other tasks defined in the Machfile.

stijnopheide avatar Sep 08 '17 14:09 stijnopheide

Thanks for the report, will look into it.

jonpither avatar Sep 08 '17 14:09 jonpither