Closed flexdinesh closed 5 years ago
When an arg has = in the value, everything after (inc) = gets stripped off from the arg.
=
Pass this command to arg() —
arg()
yarn keystone dev --connect-to=mongodb://user:pass@localhost:27017/keystone?authSource=admin&w=1
Current output --connect-to = mongodb://user:pass@localhost:27017/keystone?authSource
--connect-to
mongodb://user:pass@localhost:27017/keystone?authSource
Expected output --connect-to = mongodb://user:pass@localhost:27017/keystone?authSource=admin&w=1
mongodb://user:pass@localhost:27017/keystone?authSource=admin&w=1
This is essential for passing URLs as arg value.
Fixed in 4.1.1. Thanks for the report!
4.1.1
When an arg has
=
in the value, everything after (inc)=
gets stripped off from the arg.Pass this command to
arg()
—Current output
--connect-to
=mongodb://user:pass@localhost:27017/keystone?authSource
Expected output
--connect-to
=mongodb://user:pass@localhost:27017/keystone?authSource=admin&w=1
This is essential for passing URLs as arg value.