Skip to content

Commit

Permalink
Clarify removal of puts in CHANGELOG
Browse files Browse the repository at this point in the history
The original language of the changed item was rather confusing; it almost made it sound like the deprecation of `puts` was being reversed, and that `puts` is now preferred over `log`. But it also said that both `puts` _and_ `log` were deprecated in 4.0. I don't think that's the case or the intention of this CHANGELOG point.

My edits aim to make clear that `puts` has been deprecated, and the desire of the Cucumber Team is that `log` should be used in step definitions instead.
  • Loading branch information
jmoglesby committed Apr 19, 2021
1 parent 4adb959 commit 0fd2fa7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Expand Up @@ -47,7 +47,7 @@ Please visit [cucumber/CONTRIBUTING.md](https://github.com/cucumber/cucumber/blo
([#1523](https://github.com/cucumber/cucumber-ruby/pull/1523)
[aurelien-reeves](https://github.com/aurelien-reeves))

- `puts` in step definitions in favor of `log`. `log` has been deprecated in version 4.0
- `log` in step definitions in favor of `puts`.
`puts` has been deprecated in version 4.0.
Simply replace `puts` with `log`.
([#1523](https://github.com/cucumber/cucumber-ruby/pull/1523)
Expand Down

0 comments on commit 0fd2fa7

Please sign in to comment.