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

fix(cdk): Avoid double component error messages #1000

Merged
merged 1 commit into from
Nov 2, 2022

Commits on Nov 2, 2022

  1. fix(cdk): Avoid double component error messages

    **Current Behavior:**
    
    When running a component, if the component fails, we print two error
    messages:
    ```
    $ lacework iac fdsasd
    Error: unknown command "fdsasd" for "iac"
    ERROR unable to run component: exit status 1
    ```
    
    **New Behavior:**
    
    We detect that the error is a component failing to run and we avoid
    outputting two error messages:
    ```
    $ lacework iac fdsasd
    Error: unknown command "fdsasd" for "iac"
    ```
    
    Signed-off-by: Salim Afiune Maya <[email protected]>
    afiune committed Nov 2, 2022
    Configuration menu
    Copy the full SHA
    eec7fb5 View commit details
    Browse the repository at this point in the history