Skip to content
This repository has been archived by the owner on Nov 20, 2018. It is now read-only.

Minor usability improvements to dotnet-user-secrets #173

Merged
merged 2 commits into from
Sep 20, 2016

Conversation

natemcmaster
Copy link
Contributor

Resolves #170.
Resolves #171.

cc @dougbu

@dnfclas
Copy link

dnfclas commented Sep 20, 2016

Hi @natemcmaster, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!

The agreement was validated by .NET Foundation and real humans are currently evaluating your PR.

TTYL, DNFBOT;

@natemcmaster
Copy link
Contributor Author

cc @mikaelm12 for review


var ex = Assert.Throws<GracefulException>(() => secretManager.RunInternal("list", "--project", projectPath));

Assert.Equal(ex.Message, Resources.FormatError_ProjectPath_NotFound(projectPath));

Choose a reason for hiding this comment

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

Nit: Shouldn't the order of these arguments be expected then actual

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good catch. Yes, it is the other way around.

@@ -35,7 +77,7 @@ public void SetSecrets(bool fromCurrentDirectory)
new KeyValuePair<string, string>("key2", string.Empty)
};

var projectPath = UserSecretHelper.GetTempSecretProject();
var projectPath = GetTempSecretProject();

Choose a reason for hiding this comment

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

Extra space?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Can you clarify...do you mean I should add a space?

Choose a reason for hiding this comment

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

Sorry, I meant is the empty line 81 nedded

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No, can be removed.

@mikaelm12
Copy link

🚢 it

@natemcmaster natemcmaster merged commit 11bbd6d into dev Sep 20, 2016
@natemcmaster natemcmaster deleted the namc/fit-n-finish branch September 20, 2016 21:31
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants