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

Report a more explicit error on indentation issues #379

Merged
merged 2 commits into from
Mar 6, 2024

Commits on Mar 1, 2024

  1. Report a more explicit error on indentation issues

    When a template parameter is accidentially unindented, the stack
    attributes become empty. This resulted in:
    
    ```
    lib/stack_master/config.rb:123:in `block (2 levels) in load_stacks':
    undefined method `[]' for nil:NilClass (NoMethodError)
    
              stack_attributes['allowed_accounts'] = attributes['allowed_accounts'] if attributes['allowed_accounts']
    ```
    
    Now it will report a ConfigParseError with a more specific message.
    viraptor committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    50a58aa View commit details
    Browse the repository at this point in the history

Commits on Mar 6, 2024

  1. Better chdir nesting

    Co-authored-by: Orien Madgwick <[email protected]>
    viraptor and orien authored Mar 6, 2024
    Configuration menu
    Copy the full SHA
    8752fb4 View commit details
    Browse the repository at this point in the history