Skip to content

Commit

Permalink
Merge pull request #44 from F-Secure/sorin/fix_diff_validation
Browse files Browse the repository at this point in the history
fix: fix diff validation
  • Loading branch information
matveypashkovskiy authored Nov 16, 2021
2 parents 893e15a + eb2f808 commit 2b627b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion change_analyzer/sequences_diff.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ def _diff_is_valid(diff: str) -> bool:
- script
"""
ignored_diffs = ['ProcessId', 'RuntimeId', 'script']
return not any(ignored_diff in diff for ignored_diff in ignored_diffs)
return not any(ignored_diff.lower() in diff.lower() for ignored_diff in ignored_diffs)

@staticmethod
def _get_attribute_value_based_on_node(page_root: ET.Element, node: str, attribute: str) -> str:
Expand Down

0 comments on commit 2b627b9

Please sign in to comment.