Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(shorebird_cli): shorebirdConfigDir doesn't point to testApplicationConfigHome in tests #274

Closed
wants to merge 5 commits into from
Closed

Conversation

erikas-taroza
Copy link
Contributor

Description

shorebirdConfigDir points to testApplicationConfigHome if it is not null. However with the current implementation, it never points to the test directory.

Example:
Current (real and test):

/home/erikas/.config/shorebird

Fixed:

Real: /home/erikas/.config/shorebird
Test: /tmp/DNLFWF

The solution makes shorebirdConfigDir a getter instead of being a result from an invoked function.

Type of Change

  • ✨ New feature (non-breaking change which adds functionality)
  • 🛠️ Bug fix (non-breaking change which fixes an issue)
  • ❌ Breaking change (fix or feature that would cause existing functionality to change)
  • 🧹 Code refactor
  • ✅ Build configuration change
  • 📝 Documentation
  • 🗑️ Chore

@erikas-taroza
Copy link
Contributor Author

erikas-taroza commented Apr 8, 2023

Oops didn't create a branch for my other PR. I'll mark as draft until the other PR changes are merged so that the history is clean.

@felangel
Copy link
Contributor

Thanks for the contribution! This should be addressed by #294

@felangel felangel closed this Apr 14, 2023
@erikas-taroza erikas-taroza deleted the fix-shorebirdConfigDir branch April 14, 2023 21:51
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