In new tutor release (tutor, version 11.2.6) when we run
$ tutor config save --set "ECOMMERCE_PAYMENT_PROCESSORS=$(cat ecommerce-config.yml)"
in ecommerce-config.yml we have :
stripe:
publishable_key: pk_test_vmlscC28z4EcPSwlax1D30vsd0Ecp8t1Bx
secret_key: sk_test_HC3emMYYwdN962nmhweSBhrL00yC8963VZ
country: ca
contents of ecommerce-config.yml does not save on config.yml file and when we open config.yml we have:
@regis It seems to be a bug. The problem is that the regular expression in YamlParamType does not match line terminator (\n or \r). I tried changing it to:
EDIT: can I also ask you to add a unit test? I wrote this regexp recently and did not think of the ecommerce configuration scenario. A failing unit test would have reminded me of it.