Skip to content

Commit

Permalink
removes deprecated exists
Browse files Browse the repository at this point in the history
  • Loading branch information
Skybound1 committed Oct 7, 2024
1 parent 17769fd commit b861ba3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion icekube/icekube.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def generate_relationships(threaded: bool = False) -> None:

def remove_attack_paths() -> None:
with get_driver().session() as session:
session.run("MATCH ()-[r]-() WHERE EXISTS (r.attack_path) DELETE r")
session.run("MATCH ()-[r]-() WHERE r.attack_path IS NOT NULL DELETE r")


def setup_attack_paths() -> None:
Expand Down

0 comments on commit b861ba3

Please sign in to comment.