dotnet / dotnet/format

--check returns exit code 2 when no files are changed

Open
#979 21 comments 0 reactions 0 assignees View on GitHub
Feature Request
Dominant language
No language data
Stars
1.9k
Forks
173
Avg merge
10d 13h
Merged PRs (30d)
1

Description

the --check argument returns exit code 2 when there are some warnings from the analyzers which aren't related to formatting. --check should always return a 0 when no changes are made to files so we can use it in CI pipelines.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.