Skip to content

fix: honor cortex home for lock state#265

Open
Bortlesboat wants to merge 1 commit into
CortexLM:mainfrom
Bortlesboat:fix/lock-cortex-home
Open

fix: honor cortex home for lock state#265
Bortlesboat wants to merge 1 commit into
CortexLM:mainfrom
Bortlesboat:fix/lock-cortex-home

Conversation

@Bortlesboat
Copy link
Copy Markdown

Summary

  • route lock state path resolution through Cortex's existing home resolver
  • keep lock state under the active Cortex home instead of hardcoded ~/.cortex
  • add a regression test for CORTEX_HOME-backed lock file placement

Verification

  • cargo test -p cortex-cli test_get_lock_file_path_uses_cortex_home -- --nocapture
  • cargo test -p cortex-cli lock_cmd::tests -- --nocapture
  • cargo check -p cortex-cli
  • cargo fmt --check --package cortex-cli
  • git diff --check

Copy link
Copy Markdown

@greptile-apps greptile-apps Bot left a comment

Choose a reason for hiding this comment

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

Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.

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.

1 participant