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

refactor: replace in_list(array, member) with array.includes(member) #1513

Merged
merged 1 commit into from
Mar 11, 2024

Conversation

barredterra
Copy link
Collaborator

@barredterra barredterra commented Mar 10, 2024

in_list is discouraged by our semgrep rules and leads to a warning whenever we edit this file

@ruchamahabal ruchamahabal merged commit dbf4f1c into frappe:develop Mar 11, 2024
8 checks passed
mergify bot pushed a commit that referenced this pull request Mar 11, 2024
mergify bot pushed a commit that referenced this pull request Mar 11, 2024
ruchamahabal pushed a commit that referenced this pull request Mar 11, 2024
…r)` (backport #1513) (#1514)

(cherry picked from commit dbf4f1c)

Co-authored-by: Raffael Meyer <[email protected]>
ruchamahabal pushed a commit that referenced this pull request Mar 11, 2024
…r)` (backport #1513) (#1515)

(cherry picked from commit dbf4f1c)

Co-authored-by: Raffael Meyer <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants