Skip to content

Commit 9c402b2

Browse files
authored
fixed: resolve mismatch issue with 'ruff' Python environment (#256)
1 parent 03e0f37 commit 9c402b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

comfy_cli/command/custom_nodes/command.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -720,7 +720,7 @@ def validate_node_for_publishing():
720720
typer.echo("Running security checks...")
721721
try:
722722
# Run ruff check with security rules and --exit-zero to only warn
723-
cmd = ["ruff", "check", ".", "-q", "--select", "S102,S307,E702", "--exit-zero"]
723+
cmd = [sys.executable, "-m", "ruff", "check", ".", "-q", "--select", "S102,S307,E702", "--exit-zero"]
724724
result = subprocess.run(cmd, capture_output=True, text=True)
725725

726726
if result.stdout:

0 commit comments

Comments
 (0)