diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2014-10-28 11:04:29 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2014-10-28 11:04:29 -0700 |
commit | 86c9efae0ff74fd20f81baf960f2f546a1f1b485 (patch) | |
tree | 4bb8eb6591db3c07405c9cd06b2d49ad30ff0ae3 /spec/unit/provider | |
parent | 14fa7a2178bc2f771df5da2a0cfb18054775a4e8 (diff) | |
download | chef-lcg/fix-exceptions.tar.gz |
add 'class Chef' outer scopelcg/fix-exceptions
clearly we need a rubocop rule for this.
this fixes this exception which we were throwing incorrectly:
[2014-10-28T02:57:54+00:00] FATAL: NameError: uninitialized constant
Chef::Application::Exceptions
using 'class Chef::Application' saves a tiny amount of typing and
indentation but does not open up the outer lexical scope and breaks
otherwise working code like this.
Diffstat (limited to 'spec/unit/provider')
0 files changed, 0 insertions, 0 deletions