This commit is contained in:
Piotr Puszkiewicz 2017-03-09 16:13:19 -08:00
parent e0da3090e6
commit 1c25a17e03

View file

@ -51,7 +51,7 @@ namespace Microsoft.DotNet.Cli
Accept.ExactlyOneArgument
.With(name: "CONFIGURATION")
.WithSuggestionsFrom("DEBUG", "RELEASE")
.ForwardAs(o => $"/p:Configuration={o.Arguments.Single()}")),
.ForwardAs(o => $"/p:Configuration={o.Arguments.Single()}"));
public static ArgumentsRule DefaultToCurrentDirectory(this ArgumentsRule rule) =>
rule.With(defaultValue: () => PathUtility.EnsureTrailingSlash(Directory.GetCurrentDirectory()));