Skip to content

Remove duplicate install_pilot_deps function definition#13

Merged
mukeshkumarcharak merged 1 commit into
mainfrom
claude/add-uninstall-script-K8TTc
Mar 12, 2026
Merged

Remove duplicate install_pilot_deps function definition#13
mukeshkumarcharak merged 1 commit into
mainfrom
claude/add-uninstall-script-K8TTc

Conversation

@mukeshkumarcharak

Copy link
Copy Markdown
Contributor

Summary

Removed a duplicate function definition of install_pilot_deps() that was creating a conflict in the install script.

Key Changes

  • Deleted the duplicate install_pilot_deps() function (lines 1110-1139) that was creating a venv and installing Python requirements
  • Kept the original function definition that precedes it
  • This resolves a function redefinition issue that would cause the second definition to override the first

Details

The install script contained two definitions of the install_pilot_deps() function. The duplicate definition included logic for:

  • Creating a Python virtual environment
  • Installing dependencies from pilot/requirements.txt
  • Setting up the _PILOT_PYTHON variable

Removing the duplicate ensures the function is only defined once and prevents unexpected behavior from function redefinition.

https://claude.ai/code/session_019ktqAbGXnFrFD52W4qG2Yu

…nflict marker

Remove a duplicate `install_pilot_deps()` definition (lines 1110-1139) that
contained a leftover `=======` merge conflict marker. The duplicate was missing
its closing `fi` and `}`, causing a "syntax error: unexpected end of file"
on line 1533.

The first, complete `install_pilot_deps()` (with Termux support, stub creation,
and playwright handling) is retained.

https://claude.ai/code/session_019ktqAbGXnFrFD52W4qG2Yu
@mukeshkumarcharak mukeshkumarcharak merged commit 552b881 into main Mar 12, 2026
0 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants