diff options
| author | Dan Allen <dan.j.allen@gmail.com> | 2019-04-16 04:50:34 -0600 |
|---|---|---|
| committer | Dan Allen <dan.j.allen@gmail.com> | 2019-04-16 04:50:34 -0600 |
| commit | bcae07d8c558f4368bafdf2b6c21ad8a9aae9ebe (patch) | |
| tree | c53f5dbfe1523bc7bab6cddad019b6d1ca2b3c4d /tasks/cucumber.rake | |
| parent | c5c21d624a21b6adc7e6577fa41cc80116bb4899 (diff) | |
use shorthand rescue syntax and modern Hash syntax in rake tasks [skip ci]
Diffstat (limited to 'tasks/cucumber.rake')
| -rw-r--r-- | tasks/cucumber.rake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tasks/cucumber.rake b/tasks/cucumber.rake index 9b49ce22..8237597e 100644 --- a/tasks/cucumber.rake +++ b/tasks/cucumber.rake @@ -5,6 +5,6 @@ begin t.cucumber_opts = %w(-f progress) t.cucumber_opts << '--no-color' if ENV['CI'] end -rescue LoadError => e - warn e.message +rescue LoadError + warn $!.message end |
