awsdocs / aws-cdk-guide

User guide for the AWS Cloud Development Kit (CDK).
Other
335 stars 222 forks source link

Add quotes to CDK alias commands on Mac/Linux #370

Closed rdbatch02 closed 2 years ago

rdbatch02 commented 2 years ago

Issue #, if available: N/A

Description of changes: The CDK alias commands on Mac and Linux require quotes, otherwise the alias will only map the first component of the command before the space. This was verified in bash on both MacOS 11.6 and Amazon Linux 2. Adding the quotes as this PR does fixes the alias commands to work as intended.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

ghost commented 2 years ago

Thanks! I also fixed this in a couple other places in the docs.