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

Update tests in backport PR 3020 with correct paths #3315

Conversation

AMoo-Miki
Copy link
Collaborator

Update tests in backport PR 3020 with correct paths

Signed-off-by: Miki [email protected]

@AMoo-Miki AMoo-Miki merged commit 4be1eea into opensearch-project:backport/backport-3020-to-1.x Jan 25, 2023
ananzh added a commit that referenced this pull request Jan 25, 2023
…th rule (#3052)

* 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 <[email protected]>

Signed-off-by: Miki <[email protected]>
(cherry picked from commit 8732b1c)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

# Conflicts:
#	CHANGELOG.md

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

Signed-off-by: Miki <[email protected]>

Signed-off-by: Miki <[email protected]>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Anan Zhuang <[email protected]>
Co-authored-by: Miki <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants