Skip to content

Commit

Permalink
Show the exact gofmt command in README
Browse files Browse the repository at this point in the history
This was another pitfall for me as a new contributor: I just typed in
`gofmt -s` and thought the command would hang.. After searching on the
internet I found out it's waiting on standard input. So, just improper
use of the command.
  • Loading branch information
roschaefer committed Sep 15, 2019
1 parent f2b4dfd commit 4e4887f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ $ go get -u github.com/tcnksm/ghr
3. Commit your changes
4. Rebase your local changes against the master branch
5. Run test suite with the `make test` command and confirm that it passes
6. Run `gofmt -s`
6. Run `gofmt -s -w .`
7. Create new Pull Request

## Author
Expand Down

0 comments on commit 4e4887f

Please sign in to comment.