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

Refactor app #34

Merged
merged 12 commits into from
Feb 27, 2025
Merged

Refactor app #34

merged 12 commits into from
Feb 27, 2025

Conversation

nkitlabs
Copy link
Collaborator

Fixed:

  • refactor app component

Implementation details

Please ensure the following requirements are met before submitting a pull request:

  • The pull request is targeted against the correct target branch
  • The pull request is linked to an issue with appropriate discussion and an accepted design OR is linked to a spec that describes the work.
  • The pull request includes a description of the implementation/work done in detail.
  • The pull request includes any and all appropriate unit/integration tests
  • You have added a relevant changelog entry to CHANGELOG_UNRELEASED.md
  • You have re-reviewed the files affected by the pull request (e.g. using the Files changed tab in the Github PR explorer)

@nkitlabs nkitlabs marked this pull request as ready for review February 25, 2025 07:51
Base automatically changed from separate-store-app to main February 26, 2025 07:42
return a.Store.SaveHashedPassphrase(hashedPassphrase)
// SavePassphrase hash the provided passphrase and save it into the application's store.
func (a *App) SavePassphrase(passphrase string) error {
a.Passphrase = passphrase
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this line can be removed, a.Passphrase is not be used till the end.

return os.Write(fs.hashedPassphrase, getPassphrasePath(fs.HomePath))
}

// ValidatePassphrase validates the given
Copy link
Contributor

Choose a reason for hiding this comment

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

sentence seems uncomplete

@nkitlabs nkitlabs merged commit 7b46176 into main Feb 27, 2025
2 checks passed
@nkitlabs nkitlabs deleted the refactor-app branch February 27, 2025 06:17
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.

3 participants