prismix icon indicating copy to clipboard operation
prismix copied to clipboard

Fix binaryTargets renderer

Open BaptisteMahe opened this issue 2 years ago • 0 comments

Hello,

I was trying to setup a config for a multi-schema setup with your tools (which is pretty great !) but I had some issues with the binaryTargets output described as follow:

Schema input: binaryTargets = ["native", "debian-openssl-1.1.x"]

Desired output: binaryTargets = ["native", "debian-openssl-1.1.x"]

Actual output: binaryTargets = [{"fromEnvVar":null,"value":"native"},{"fromEnvVar":null,"value":"debian-openssl-1.1.x"}]

To fix this issues I edited the binaryTargets renderer to map only on the value of the inputs.

BaptisteMahe avatar Oct 12 '22 10:10 BaptisteMahe