Fix hardcoded paths after workspace restructure
Update all hardcoded paths from ~/AI/projects/* to ~/chorus/project-queues/active/* and ~/AI/secrets/* to ~/chorus/business/secrets/* after workspace reorganization. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -10,17 +10,17 @@ def get_github_token():
|
||||
"""Get GitHub token from secrets file."""
|
||||
try:
|
||||
# Try gh-token first
|
||||
gh_token_path = Path("/home/tony/AI/secrets/passwords_and_tokens/gh-token")
|
||||
gh_token_path = Path("/home/tony/chorus/business/secrets/gh-token")
|
||||
if gh_token_path.exists():
|
||||
return gh_token_path.read_text().strip()
|
||||
|
||||
# Try GitHub token
|
||||
github_token_path = Path("/home/tony/AI/secrets/passwords_and_tokens/github-token")
|
||||
github_token_path = Path("/home/tony/chorus/business/secrets/github-token")
|
||||
if github_token_path.exists():
|
||||
return github_token_path.read_text().strip()
|
||||
|
||||
# Fallback to GitLab token if GitHub token doesn't exist
|
||||
gitlab_token_path = Path("/home/tony/AI/secrets/passwords_and_tokens/claude-gitlab-token")
|
||||
gitlab_token_path = Path("/home/tony/chorus/business/secrets/claude-gitlab-token")
|
||||
if gitlab_token_path.exists():
|
||||
return gitlab_token_path.read_text().strip()
|
||||
except Exception:
|
||||
|
||||
Reference in New Issue
Block a user