Skip to content

Commit

Permalink
(GH-2822) Change order for tool names
Browse files Browse the repository at this point in the history
When attempting to run the change that was made on my Mac, the Cake
Tool resolver still returns ReportGenerator.exe, since there is one of
these nested within the folder structure for the gloal tool.  So even
though we"want" the shim to be found, it isn't.

Workaround this by chaning the order for the tool names.  Since the
since shouldn't exist on a Windows machine, it shouldn't have any
adverse affects.
  • Loading branch information
gep13 committed Jul 6, 2020
1 parent 2261087 commit 7a7f802
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ protected override string GetToolName()
/// <returns>The tool executable name.</returns>
protected override IEnumerable<string> GetToolExecutableNames()
{
return new[] { "ReportGenerator.exe", "reportgenerator" };
return new[] { "reportgenerator", "ReportGenerator.exe" };
}

private void AppendQuoted(ProcessArgumentBuilder builder, string key, string value)
Expand Down

0 comments on commit 7a7f802

Please sign in to comment.