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

atlasexec/migrate-lint: added --context and handle exit status code #20

Closed
wants to merge 3 commits into from

Commits on Sep 27, 2023

  1. atlasexec/migrate-lint: added --context and handle exit status code

    This change adds --context to MigrateLint.
    It's only useful in combination with Web=true, which exposed a new
    edge case where Atlas returns status code 1 when linting fails.
    
    Indication of linting failure can be observed using the summary
    when using MigrateLint, but when using Web=true, there is no
    summary, only a URL.
    
    So this PR also exposes the status code of Migrate Lint when
    runnning from MigrateLintError
    dorav committed Sep 27, 2023
    Configuration menu
    Copy the full SHA
    3c68910 View commit details
    Browse the repository at this point in the history
  2. added a specific error type

    dorav committed Sep 27, 2023
    Configuration menu
    Copy the full SHA
    ffa9f3d View commit details
    Browse the repository at this point in the history
  3. remove redundent checks

    dorav committed Sep 27, 2023
    Configuration menu
    Copy the full SHA
    2b2112b View commit details
    Browse the repository at this point in the history