diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2018-07-02 10:28:08 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2018-07-02 10:28:08 -0700 |
commit | 202887162a22e0c7062064fff0d9462f8c02bf0e (patch) | |
tree | 1513b8120cbc1d2904d4c3fa484ce7ed1c88d192 /lib/chef/node.rb | |
parent | dcac6762380d011f73cf53a50476d31dab0025ee (diff) | |
download | chef-202887162a22e0c7062064fff0d9462f8c02bf0e.tar.gz |
fix Layout/AlignHash caused by Style/HashSyntax
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'lib/chef/node.rb')
-rw-r--r-- | lib/chef/node.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/node.rb b/lib/chef/node.rb index 10cad24921..114a38d8d0 100644 --- a/lib/chef/node.rb +++ b/lib/chef/node.rb @@ -117,8 +117,8 @@ class Chef validate( { name: arg }, { name: { kind_of: String, - cannot_be: :blank, - regex: /^[\-[:alnum:]_:.]+$/ }, + cannot_be: :blank, + regex: /^[\-[:alnum:]_:.]+$/ }, }) @name = arg else |