Fix fish shell PATH bootstrap on macOS #239
main fromrefs/pull/239/head·opened View on GitHubSummary#
- replace
echo -n $PATHwithprintf "%s" "$PATH"in macOSfixPath()bootstraps - trim shell output before assigning
process.env.PATH - apply the fix in both server and desktop startup paths
Why#
$PATH is list-typed in fish. The previous unquoted expansion could produce a space-separated value, which breaks command resolution in Node and can surface as spawn ... ENOENT.
Validation#
bun lintbun typecheck
Note
Fix fish shell PATH bootstrap on macOS by sourcing process.env.PATH via apps/desktop/src/fixPath.ts:fixPath and apps/server/src/os-jank.ts:fixPath using printf "%s" "$PATH" and trimming the result#
Replace echo -n $PATH with printf "%s" "$PATH" and apply .trim() to the execFileSync result before assigning to process.env.PATH. Changes occur in fixPath.ts and os-jank.ts.
📍Where to Start#
Start with the fixPath implementation in fixPath.ts, then review the parallel change in os-jank.ts.
- 1
Important
Review skipped#
Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the
.coderabbit.yamlfile in this repository. To trigger a single review, invoke the@coderabbitai reviewcommand.⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Pro
Run ID:
b8575f50-a4ea-483e-b459-8b7512967defYou can disable this status message by setting the
reviews.review_statustofalsein the CodeRabbit configuration file.Use the checkbox below for a quick retry:
- 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
- Create PR with unit tests
- Post copyable unit tests in a comment
Tip
Try Coding Plans. Let us write the prompt for your AI agent so you can ship faster (with fewer bugs). Share your feedback on Discord.
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Comment `@coderabbitai help` to get the list of available commands and usage tips.Moving this change to my fork PR instead: https://github.com/dnnaji/t3code/pull/1
dnnaji(GitHub profile, opens in a new tab) closed this
Sign in to join this conversation.
@dnnaji is attempting to deploy a commit to the Ping Labs Team on Vercel.
A member of the Team first needs to authorize it.