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: minor bug fixes #123

Merged
merged 1 commit into from
Mar 30, 2022
Merged

fix: minor bug fixes #123

merged 1 commit into from
Mar 30, 2022

Conversation

berendsliedrecht
Copy link
Member

Signed-off-by: Berend Sliedrecht [email protected]

Signed-off-by: Berend Sliedrecht <[email protected]>
@berendsliedrecht berendsliedrecht merged commit 3e504ea into main Mar 30, 2022
@berendsliedrecht berendsliedrecht deleted the bug-fixes branch March 30, 2022 07:56
Copy link
Contributor

@jloleysens jloleysens left a comment

Choose a reason for hiding this comment

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

I'd like to get one change in before merginf (see review comment), otherwise looks good 🍻

@@ -30,7 +30,7 @@ impl Display for Error {
Error::NoAgentURLSupplied => write!(f, "No agent URL supplied. Supply an agent URL either via `--agent-url` or see `aries-cli configuration --help` to learn about setting up an environment."),
Error::UnqualAmountKeyValue => write!(f, "Supplies keys and values are not equal in size."),
Error::HomeNotFound => write!(f, "Unable to find home directory."),
Error::ConfigExists => write!(f, "Configuration file already exists."),
Error::ConfigExists(path) => write!(f, "Configuration file already exists. If you want to add an agent, manually go to {} and add it there.", path),
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
Error::ConfigExists(path) => write!(f, "Configuration file already exists. If you want to add an agent, manually go to {} and add it there.", path),
Error::ConfigExists(path) => write!(f, "Configuration file already exists at {}.", path),

IMO it's better to not assume what the user might want to do, but it is good to anticipate that they want to know where the file is 👌🏻

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