Skip to content

refactor: improve brew command detection in .update.sh - #123

Closed
gvatsal60 wants to merge 1 commit into
masterfrom
kilo/swift-loom-oq8
Closed

gvatsal60 wants to merge 1 commit into
masterfrom
kilo/swift-loom-oq8

Conversation

@gvatsal60

Copy link
Copy Markdown
Owner

Update the update_brew function to explicitly locate the brew executable. This adds support for detecting brew in the default Linuxbrew path (/home/linuxbrew/.linuxbrew/bin/brew) when it is not found in the standard PATH, ensuring more reliable execution in various environments.

Summary

Describe what changed and why this change is needed.

Checklist

  • The change is well-scoped and ready for review
  • I validated the touched files locally or with the available checks
  • Any downstream impact is documented in the PR description

Update the `update_brew` function to explicitly locate the brew executable.
This adds support for detecting brew in the default Linuxbrew path
(`/home/linuxbrew/.linuxbrew/bin/brew`) when it is not found in the
standard PATH, ensuring more reliable execution in various environments.

Co-authored-by: kiloconnect[bot] <240665456+kiloconnect[bot]@users.noreply.github.com>
Copilot AI lite review requested due to automatic review settings September 27, 2026 08:43

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@sonarqubecloud

Copy link
Copy Markdown

@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@kilo-code-bot

kilo-code-bot Bot commented Sep 27, 2026 •

Copy link
Copy Markdown
Contributor

Code Review Summary

Status: No Issues Found | Recommendation: Merge

Files Reviewed (1 file)
  • .update.sh

Reviewed by free · Input: 0 · Output: 0 · Cached: 0

@gvatsal60 gvatsal60 closed this Sep 27, 2026
@gvatsal60
gvatsal60 deleted the kilo/swift-loom-oq8 branch September 27, 2026 08:58
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