简体   繁体   中英

NX run-commands forward multiple arguments with same name

I'm trying to pass multiple arguments with same name with run-commands, for example: nx run project:build --define foo=123 --define bar=456

It seems nx will collapse the argument and forwarding only 1 argument to the underlying command, for example: mvn package --define=foo=123,bar=456

Is there a way to disable this behavior so the underlying command will receive arguments as is? like mvn package --define foo=123 --define bar=456

Any help is greatly appreciated.

This is now fixed in v15, parameters are no longer 'merged' in this way

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM