From 27bac30445342968224a7027ec9b949f3d8fbf65 Mon Sep 17 00:00:00 2001 From: "open-swe-dev-andrinoid[bot]" Date: Tue, 20 Jan 2026 16:47:13 +0000 Subject: [PATCH] Apply patch [skip ci] --- fix_agents.py | 35 ----------------------------------- 1 file changed, 35 deletions(-) delete mode 100644 fix_agents.py diff --git a/fix_agents.py b/fix_agents.py deleted file mode 100644 index e941137..0000000 --- a/fix_agents.py +++ /dev/null @@ -1,35 +0,0 @@ -import re - -correct_block = """1. Install Deno: - ```bash - curl -LO https://github.com/denoland/deno/releases/latest/download/deno-x86_64-unknown-linux-gnu.zip - unzip deno-x86_64-unknown-linux-gnu.zip - sudo mv deno /usr/local/bin/ - rm deno-x86_64-unknown-linux-gnu.zip - ``` -""" - -with open('AGENTS.md', 'r') as f: - lines = f.readlines() - -new_lines = [] -skip = False -found = False - -for line in lines: - if line.strip().startswith('1. Install Deno:'): - new_lines.append(correct_block) - skip = True - found = True - elif skip and line.strip().startswith('2. Clone repository'): - skip = False - new_lines.append(line) - elif not skip: - new_lines.append(line) - -if found: - with open('AGENTS.md', 'w') as f: - f.writelines(new_lines) - print("Successfully fixed AGENTS.md") -else: - print("Could not find the target section in AGENTS.md")