Command: python -c "from pathlib import Path;import re;p=Path('../apps-script/Code.gs');s=p.read_text(encoding='utf-8',errors='replace');print('EXISTS='+str(p.exists()));print('SIZE='+str(p.stat().st_size));lines=s.splitlines(); pats=re.compile(r'^(function\s+(doGet|doPost|claim|result|state|setup|health|poll|command)|.*(SpreadsheetApp|PropertiesService|relay|spreadsheet|commands|results|state).*)',re.I); out=[];\nfor i,x in enumerate(lines,1):\n if pats.search(x):\n y=re.sub(r'([A-Za-z0-9_-]{24,})','<REDACTED_LONG>',x);out.append(f'{i}:{y[:300]}');\nprint('ANCHORS\\n'+'\\n'.join(out[:220]))"
Directory: projects
Status: FAILED
Exit code: 1
Cancel Job Rerun Command Refresh
from pathlib import Path;import re;p=Path('../apps-script/Code.gs');s=p.read_text(encoding='utf-8',errors='replace');print('EXISTS='+str(p.exists()));print('SIZE='+str(p.stat().st_size));lines=s.splitlines(); pats=re.compile(r'^(function\s+(doGet|doPost|claim|result|state|setup|health|poll|command)|.*(SpreadsheetApp|PropertiesService|relay|spreadsheet|commands|results|state).*)',re.I); out=[];\nfor i,x in enumerate(lines,1):\n if pats.search(x):\n y=re.sub(r'([A-Za-z0-9_-]{24,})','<REDACTED_LONG>',x);out.append(f'{i}:{y[:300]}');\nprint('ANCHORS\\n'+'\\n'.join(out[:220]))
^
SyntaxError: unexpected character after line continuation character
--- File "<string>", line 1
from pathlib import Path;import re;p=Path('../apps-script/Code.gs');s=p.read_text(encoding='utf-8',errors='replace');print('EXISTS='+str(p.exists()));print('SIZE='+str(p.stat().st_size));lines=s.splitlines(); pats=re.compile(r'^(function\s+(doGet|doPost|claim|result|state|setup|health|poll|command)|.*(SpreadsheetApp|PropertiesService|relay|spreadsheet|commands|results|state).*)',re.I); out=[];\nfor i,x in enumerate(lines,1):\n if pats.search(x):\n y=re.sub(r'([A-Za-z0-9_-]{24,})','<REDACTED_LONG>',x);out.append(f'{i}:{y[:300]}');\nprint('ANCHORS\\n'+'\\n'.join(out[:220]))
^
SyntaxError: unexpected character after line continuation character