Job 1788609054253

Command: python -c "from pathlib import Path;import shutil;p=Path(r'C:\Users\ash\PhoneBridgeHotpathLiveV86\Code.js');s=p.read_text(encoding='utf-8');old='function doGet(e) { return handle_(e, null); }';new="function doGet(e) {\n const p = (e && e.parameter) || {};\n if (String(p.action || '') === 'healthz') return ContentService.createTextOutput(JSON.stringify({ok:true,healthz:'static-v8'})).setMimeType(ContentService.MimeType.JSON);\n return handle_(e, null);\n}";assert s.count(old)==1;bd=Path(r'C:\Users\ash\PhoneBridgeHotpathLiveV86_backup');bd.mkdir(exist_ok=True);shutil.copy2(p,bd/'Code.pre-healthz-v8.js');p.write_text(s.replace(old,new),encoding='utf-8');print('HEALTHZ_PATCH_OK')"
Directory: projects
Status: FAILED
Exit code: 1

Cancel Job Rerun Command Refresh

Error Summary

Traceback (most recent call last):
  File "<string>", line 1, in <module>
NameError: name 'function' is not defined
'{}' is not recognized as an internal or external command,
---
Traceback (most recent call last):
  File "<string>", line 1, in <module>
NameError: name 'function' is not defined
'{}' is not recognized as an internal or external command,
operable program or batch file.
''')' is not recognized as an internal or external command,
---
Traceback (most recent call last):
  File "<string>", line 1, in <module>
NameError: name 'function' is not defined
'{}' is not recognized as an internal or external command,
operable program or batch file.
''')' is not recognized as an internal or external command,
operable program or batch file.