Skip to content

Commit 9c47f12

Browse files
CopilotIEvangelist
andauthored
Fix incorrect parameter name in WithProcessCommand doc examples (name → commandName) (#1154)
* Initial plan * Fix WithProcessCommand parameter name from 'name' to 'commandName' in docs Co-authored-by: IEvangelist <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: IEvangelist <[email protected]>
1 parent e2582e4 commit 9c47f12

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/frontend/src/content/docs/diagnostics/aspireprocesscommand001.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ var builder = DistributedApplication.CreateBuilder(args);
3232

3333
builder.AddRedis("cache")
3434
.WithProcessCommand(
35-
name: "dotnet-version",
35+
commandName: "dotnet-version",
3636
displayName: "Show .NET version",
3737
executablePath: "dotnet",
3838
arguments: ["--version"]);

src/frontend/src/content/docs/fundamentals/custom-resource-commands.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1301,7 +1301,7 @@ var builder = DistributedApplication.CreateBuilder(args);
13011301

13021302
builder.AddRedis("cache")
13031303
.WithProcessCommand(
1304-
name: "dotnet-version",
1304+
commandName: "dotnet-version",
13051305
displayName: "Show .NET version",
13061306
executablePath: "dotnet",
13071307
arguments: ["--version"]);
@@ -1352,7 +1352,7 @@ var builder = DistributedApplication.CreateBuilder(args);
13521352

13531353
builder.AddRedis("cache")
13541354
.WithProcessCommand(
1355-
name: "seed-data",
1355+
commandName: "seed-data",
13561356
displayName: "Seed data",
13571357
createProcessSpec: context => new ProcessCommandSpec("dotnet")
13581358
{

src/frontend/src/content/docs/whats-new/aspire-13-4.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ var builder = DistributedApplication.CreateBuilder(args);
433433

434434
builder.AddRedis("cache")
435435
.WithProcessCommand(
436-
name: "dotnet-version",
436+
commandName: "dotnet-version",
437437
displayName: "Show .NET version",
438438
executablePath: "dotnet",
439439
arguments: ["--version"]);

0 commit comments

Comments
 (0)