[36288f42] Keine Zusammenfassung angegeben.
Keine Zusammenfassung angegeben.
This commit is contained in:
@@ -1 +1 @@
|
||||
{"task_id": "35588f42-8544-800a-9eb7-e62ce4ce30e4", "token": "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", "readme_path": "readme.md", "session_start_time": "2026-05-15T21:12:57.221538"}
|
||||
{"task_id": "36288f42-8544-807a-a70a-e75f676885c2", "token": "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", "readme_path": "readme.md", "session_start_time": "2026-05-16T11:33:05.686975"}
|
||||
@@ -1,16 +0,0 @@
|
||||
import sys
|
||||
|
||||
with open('fotograf-de-scraper/frontend/src/App.tsx', 'r') as f:
|
||||
content = f.read()
|
||||
|
||||
# Fix the syntax error: '? .replace' should be '? selectedJob.name.replace'
|
||||
old_syntax = "? .replace(/\\(JOB\\d+\\)/gi, '')"
|
||||
new_syntax = "? selectedJob.name.replace(/\\(JOB\\d+\\)/gi, '')"
|
||||
|
||||
if old_syntax in content:
|
||||
content = content.replace(old_syntax, new_syntax)
|
||||
with open('fotograf-de-scraper/frontend/src/App.tsx', 'w') as f:
|
||||
f.write(content)
|
||||
print("Syntax error fixed")
|
||||
else:
|
||||
print("Syntax error string not found")
|
||||
Reference in New Issue
Block a user