mirror of
https://github.com/capistrano/capistrano
synced 2023-03-27 23:21:18 -04:00
b83a39bd86
Cucumber has deprecated `puts` in favor of `log` for logging messages to the current cucumber formatter. In our case we actually want it both ways: we want to log messages using the cucumber formatter when cucumber is running, but use `Kernel#puts` otherwise. So, use `respond_to?` to see if cucumber's `log` is available, and if not, fall back to `puts`. |
||
---|---|---|
.. | ||
step_definitions | ||
support | ||
configuration.feature | ||
deploy.feature | ||
deploy_failure.feature | ||
doctor.feature | ||
installation.feature | ||
sshconnect.feature | ||
stage_failure.feature | ||
subdirectory.feature |