fix: return an error if the user's home configuration directory cannot be found #54

Manually merged
dananglin merged 1 commit from update-config-path-code into main 2024-08-18 21:29:24 +01:00
Owner

Summary

Return an error to the user if Enbas is unable to calculate the user's home configuration directory.

Changes

  • Return an error if the user's home configuration directory cannot be found.
  • Add tests to the internal.config package.
  • Update the tests in internal.utilities package.
### Summary Return an error to the user if Enbas is unable to calculate the user's home configuration directory. ### Changes - Return an error if the user's home configuration directory cannot be found. - Add tests to the `internal.config` package. - Update the tests in `internal.utilities` package.
dananglin added this to the v0.2.0 milestone 2024-08-18 18:03:30 +01:00
dananglin added 1 commit 2024-08-18 18:03:32 +01:00
checkpoint: remove default config dir; replace with err if user's congig home not found
All checks were successful
Tests / test (pull_request) Has been skipped
986407f728
dananglin force-pushed update-config-path-code from 986407f728 to 4c87993667 2024-08-18 19:41:46 +01:00 Compare
dananglin added 1 commit 2024-08-18 20:56:43 +01:00
add unit test for credentials.go
All checks were successful
Tests / test (pull_request) Has been skipped
43b8c7ef97
dananglin added 1 commit 2024-08-18 21:00:25 +01:00
confirm current account update
All checks were successful
Tests / test (pull_request) Has been skipped
c1d644f534
dananglin changed title from WIP: Update the config package to fix: return an error if the user's home configuration directory cannot be found 2024-08-18 21:12:24 +01:00
dananglin force-pushed update-config-path-code from c1d644f534 to d38431d9e8 2024-08-18 21:23:27 +01:00 Compare
dananglin manually merged commit d38431d9e8 into main 2024-08-18 21:29:24 +01:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: apollo/enbas#54
No description provided.