chore(docs): update is_dangerous_command method description (#48)

This commit is contained in:
Alex Rosenzweig 2024-09-06 11:18:53 +10:00 committed by GitHub
parent a579e21037
commit 6fd11e8e45
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -5,6 +5,8 @@ def is_dangerous_command(command: str) -> bool:
"""
Check if the command matches any dangerous patterns.
Dangerous patterns in this function are defined as commands that may present risk to system stability.
Args:
command (str): The shell command to check.