Skip to content

Commit

Permalink
tell the contributer to run dotnet format in the CONTRIBUTING.md
Browse files Browse the repository at this point in the history
  • Loading branch information
shacharPash committed Sep 27, 2023
1 parent 1e998b9 commit 70b5624
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/linter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Check for modified files
run: |
if (git status | Select-String -Pattern 'modified') {
Write-Host "Modified files found."
Write-Host "Modified files found. Please run dotnet format and commit the changes."
exit 1
} else {
Write-Host "No modified files found."
Expand Down
7 changes: 4 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,10 @@ Here's how to get started with your code contribution:
3. Write your tests

4. Use the `docker run -p 6379:6379 -it redis/redis-stack-server:edge` as your local environment for running the functional tests. You can also use Development Container as described below.
5. Make sure your tests pass using `dotnet test`
6. Push your changes to GitHub
7. Open a pull request
5. run `dotnet format` to make sure your code is formatted correctly
6. Make sure your tests pass using `dotnet test`
7. Push your changes to GitHub
8. Open a pull request

## Development Container

Expand Down

0 comments on commit 70b5624

Please sign in to comment.