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

GH4355: Frosting support Pascal Case Target argument #4357

Merged
merged 1 commit into from
Oct 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/Cake.Core/ExecutionSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
using System;
using System.Collections.Generic;
using System.Linq;
using static Cake.Core.Constants;

namespace Cake.Core
{
Expand Down
2 changes: 1 addition & 1 deletion src/Cake.Core/Graph/CakeGraph.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public void Add(string node)
{
throw new ArgumentNullException(nameof(node));
}
if (_nodes.Any(x => x == node))
if (Exist(node))
{
throw new CakeException("Node has already been added to graph.");
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ namespace Cake.Frosting.Internal
{
internal sealed class DefaultCommandSettings : CommandSettings
{
[CommandOption("--target|-t <TARGET>")]
[CommandOption("--target|-t|--Target <TARGET>")]
[DefaultValue("Default")]
[Description("Target task to invoke.")]
public string[] Targets { get; set; }
Expand Down
Loading