Skip to content

Commit beefe50

Browse files
committed
fix: correct command for style violation detection
1 parent 971acc4 commit beefe50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/reusable-lint-cs-files.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ jobs:
133133
- name: Collect Style Violations Log
134134
id: violations-log
135135
run: |
136-
output=$(dotnet format analyzers TempProject.csproj --verify-no-changes 2>&1 || echo "Style violation detected")
136+
output=$(dotnet format style TempProject.csproj --verify-no-changes 2>&1 || echo "Style violation detected")
137137
138138
if [ -z "$output" ]; then
139139
echo "::notice::No issues were found in the code"

0 commit comments

Comments
 (0)