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/bundler.rake | |
| parent | c5c21d624a21b6adc7e6577fa41cc80116bb4899 (diff) | |
use shorthand rescue syntax and modern Hash syntax in rake tasks [skip ci]
Diffstat (limited to 'tasks/bundler.rake')
| -rw-r--r-- | tasks/bundler.rake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tasks/bundler.rake b/tasks/bundler.rake index 47f3ef1a..e8b55b9c 100644 --- a/tasks/bundler.rake +++ b/tasks/bundler.rake @@ -1,6 +1,6 @@ # frozen_string_literal: true begin require 'bundler/gem_tasks' -rescue LoadError => e - warn e.message +rescue LoadError + warn $!.message end |
