Skip to content

Commit

Permalink
Debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Ovidiu Rusu committed Oct 24, 2024
1 parent 686f49b commit 3b03ce9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bin/publisher/agents_manifest.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,10 +163,10 @@ def validate_agent(agent_folder: str, agent_cli_path: str) -> bool:
agent_cli_path (str): The path to the agent cli executable.
"""
command = f'"{agent_cli_path}" validate -j {agent_folder}'
try:
print(f"Validating agent: {agent_folder}")
print(f"Validating agent: {command}")
print("Dirs", os.listdir(agent_folder))

# Run the command and capture output
try:
result = subprocess.run(
command, shell=True, cwd=agent_folder, capture_output=True, text=True
)
Expand Down

0 comments on commit 3b03ce9

Please sign in to comment.