Skip to content
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
6 changes: 3 additions & 3 deletions docs/guides/csharp/.config/dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
"isRoot": true,
"tools": {
"csharpier": {
"version": "0.30.6",
"version": "1.0.1",
"commands": [
"dotnet-csharpier"
"csharpier"
]
}
}
}
}
6 changes: 3 additions & 3 deletions docs/snippets/csharp/.config/dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
"isRoot": true,
"tools": {
"csharpier": {
"version": "0.30.6",
"version": "1.0.1",
"commands": [
"dotnet-csharpier"
"csharpier"
]
}
}
}
}
2 changes: 1 addition & 1 deletion scripts/formatter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export async function formatter(language: string, cwd: string): Promise<void> {
switch (language) {
case 'csharp':
if (cwd.includes('tests') || cwd.includes('snippets') || cwd.includes('guides')) {
await run('dotnet format --no-restore && dotnet tool restore && dotnet dotnet-csharpier .', {
await run('dotnet format --no-restore && dotnet tool restore && dotnet csharpier .', {
cwd,
language,
});
Expand Down
4 changes: 2 additions & 2 deletions templates/csharp/snippets/dotnet-tools.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
"isRoot": true,
"tools": {
"csharpier": {
"version": "0.30.6",
"version": "1.0.1",
"commands": [
"dotnet-csharpier"
"csharpier"
]
}
}
Expand Down
4 changes: 2 additions & 2 deletions tests/output/csharp/.config/dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
"isRoot": true,
"tools": {
"csharpier": {
"version": "0.30.6",
"version": "1.0.1",
"commands": [
"dotnet-csharpier"
"csharpier"
]
}
}
Expand Down
Loading