Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Document return behavior of cdk diff #1446

Merged
merged 1 commit into from
Jan 7, 2019

Commits on Dec 28, 2018

  1. chore: Document return behavior of cdk diff

    The `cdk diff` command intentionally returns non-zero when a difference is found,
    similar to how the POSIX `diff` command behaves (returning 0 when no difference is
    found, 1 when some difference is found, and >1 when an error occurred). This
    behavior was however undocumented, possibly leading to user confusion.
    
    This change adds a note in `cdk --help` that mentions the exit code 1 will be used
    when a difference is found.
    RomainMuller committed Dec 28, 2018
    Configuration menu
    Copy the full SHA
    5a975ff View commit details
    Browse the repository at this point in the history