Skip to content

Fix hard-coded workspace path in verify_setup.sh - #9

Merged
pmca31 merged 2 commits into
build-octofit-appfrom
copilot/sub-pr-2-5726c6bb-22bd-4260-a848-9fcba8ef2395
Feb 11, 2026
Merged

Fix hard-coded workspace path in verify_setup.sh#9
pmca31 merged 2 commits into
build-octofit-appfrom
copilot/sub-pr-2-5726c6bb-22bd-4260-a848-9fcba8ef2395

Conversation

Copilot AI commented Feb 11, 2026

Copy link
Copy Markdown
Contributor

The verification script used /workspaces/flai-workshop-github-copilot-800/octofit-tracker/backend, breaking portability across Codespaces and local environments.

Changes

  • Derive backend path relative to script location using SCRIPT_DIR
  • Script now works from any working directory or repository clone
# Before
cd /workspaces/flai-workshop-github-copilot-800/octofit-tracker/backend

# After
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd "${SCRIPT_DIR}/octofit-tracker/backend"

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

…ute path

Co-authored-by: pmca31 <6774003+pmca31@users.noreply.github.com>
Copilot AI changed the title [WIP] Update registration validation based on feedback Fix hard-coded workspace path in verify_setup.sh Feb 11, 2026
Copilot AI requested a review from pmca31 February 11, 2026 19:26
@pmca31
pmca31 marked this pull request as ready for review February 11, 2026 19:48
@pmca31
pmca31 merged commit 32cfffa into build-octofit-app Feb 11, 2026
@pmca31
pmca31 deleted the copilot/sub-pr-2-5726c6bb-22bd-4260-a848-9fcba8ef2395 branch February 11, 2026 19:49
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