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

[Backport 1.x] Trim trailing slashes before checking no-restricted-path rule #3052

Merged
merged 5 commits into from
Jan 25, 2023

Commits on Dec 8, 2022

  1. Fixes no-restricted-path false-positives when allowSameFolder is …

    …true (#3020)
    
    `no-restricted-paths` compares source files and import statements, and their membership in restricted zones. However, when `allowSameFolder` is true, it failed to remove a trailing slash before validation which results in a false-positive.
    
    Signed-off-by: Miki <amoo_miki@yahoo.com>
    
    Signed-off-by: Miki <amoo_miki@yahoo.com>
    (cherry picked from commit 8732b1c)
    Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    
    # Conflicts:
    #	CHANGELOG.md
    github-actions[bot] committed Dec 8, 2022
    Configuration menu
    Copy the full SHA
    d55a294 View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2023

  1. Configuration menu
    Copy the full SHA
    bf977da View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2023

  1. Configuration menu
    Copy the full SHA
    d9ce63c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2c5c329 View commit details
    Browse the repository at this point in the history

Commits on Jan 25, 2023

  1. Update tests in backport PR 3020 with correct paths (#3315)

    Signed-off-by: Miki <miki@amazon.com>
    AMoo-Miki authored Jan 25, 2023
    Configuration menu
    Copy the full SHA
    4be1eea View commit details
    Browse the repository at this point in the history