diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2016-11-14 14:34:02 -0800 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2016-11-14 14:34:02 -0800 |
commit | f144a985e44a8f3acf0275eeeae6739de200d0f8 (patch) | |
tree | 2bbe49bc8e2f7a54fbdf887ba27a2a656c178753 /lib | |
parent | ed93e0fb1644643cb0d064776b3283401dfba9a7 (diff) | |
download | chef-f144a985e44a8f3acf0275eeeae6739de200d0f8.tar.gz |
fixes Style/Semicolon coplcg/style-semicolon
these all seem like useless uses of semicolons.
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/chef/exceptions.rb | 2 | ||||
-rw-r--r-- | lib/chef/win32/api/security.rb | 24 |
2 files changed, 13 insertions, 13 deletions
diff --git a/lib/chef/exceptions.rb b/lib/chef/exceptions.rb index 7126323ff7..c933841726 100644 --- a/lib/chef/exceptions.rb +++ b/lib/chef/exceptions.rb @@ -262,7 +262,7 @@ class Chef class ChildConvergeError < RuntimeError; end - class DeprecatedFeatureError < RuntimeError; + class DeprecatedFeatureError < RuntimeError def initalize(message) super("#{message} (raising error due to treat_deprecation_warnings_as_errors being set)") end diff --git a/lib/chef/win32/api/security.rb b/lib/chef/win32/api/security.rb index 64df077686..a2cfe35dad 100644 --- a/lib/chef/win32/api/security.rb +++ b/lib/chef/win32/api/security.rb @@ -182,18 +182,18 @@ class Chef MAXDWORD = 0xffffffff # LOGON32 constants for LogonUser - LOGON32_LOGON_INTERACTIVE = 2; - LOGON32_LOGON_NETWORK = 3; - LOGON32_LOGON_BATCH = 4; - LOGON32_LOGON_SERVICE = 5; - LOGON32_LOGON_UNLOCK = 7; - LOGON32_LOGON_NETWORK_CLEARTEXT = 8; - LOGON32_LOGON_NEW_CREDENTIALS = 9; - - LOGON32_PROVIDER_DEFAULT = 0; - LOGON32_PROVIDER_WINNT35 = 1; - LOGON32_PROVIDER_WINNT40 = 2; - LOGON32_PROVIDER_WINNT50 = 3; + LOGON32_LOGON_INTERACTIVE = 2 + LOGON32_LOGON_NETWORK = 3 + LOGON32_LOGON_BATCH = 4 + LOGON32_LOGON_SERVICE = 5 + LOGON32_LOGON_UNLOCK = 7 + LOGON32_LOGON_NETWORK_CLEARTEXT = 8 + LOGON32_LOGON_NEW_CREDENTIALS = 9 + + LOGON32_PROVIDER_DEFAULT = 0 + LOGON32_PROVIDER_WINNT35 = 1 + LOGON32_PROVIDER_WINNT40 = 2 + LOGON32_PROVIDER_WINNT50 = 3 # LSA access policy POLICY_VIEW_LOCAL_INFORMATION = 0x00000001 |