mirror of
https://github.com/MadsLorentzen/ai-job-search.git
synced 2026-09-17 00:26:26 +00:00
docs(readme): make install loops failure-isolated per iteration (#157)
A failed iteration in the Quick start install loops (e.g. bun missing from PATH) skipped the cd back to the repo root, so every remaining tool's cd failed in cascade and the shell ended up stranded inside .agents/skills/<tool>/cli with nothing else installed. Run each bash iteration in a subshell and use Push-Location/Pop-Location in PowerShell so a failure stays contained to its own tool and the loop always returns to the repo root. Claude-Session: https://claude.ai/code/session_015EQ2xeixvVdnvbihce3aSt Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5
parent
d1e707ef1f
commit
47118dcbf2
@@ -83,9 +83,9 @@ PowerShell:
|
||||
```powershell
|
||||
$tools = @("jobbank-search", "jobdanmark-search", "jobindex-search", "jobnet-search", "linkedin-search", "freehire-search")
|
||||
foreach ($tool in $tools) {
|
||||
Set-Location ".agents/skills/$tool/cli"
|
||||
Push-Location ".agents/skills/$tool/cli"
|
||||
bun install
|
||||
Set-Location "..\..\..\.."
|
||||
Pop-Location
|
||||
}
|
||||
```
|
||||
|
||||
@@ -93,7 +93,7 @@ Bash / zsh / Git Bash:
|
||||
|
||||
```bash
|
||||
for tool in jobbank-search jobdanmark-search jobindex-search jobnet-search linkedin-search freehire-search; do
|
||||
cd .agents/skills/$tool/cli && bun install && cd ../../../..
|
||||
(cd .agents/skills/$tool/cli && bun install)
|
||||
done
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user