Skip to content

Commit a469fa1

Browse files
committed
Prefer && to and in normal conditional logic (style).
1 parent 36b5d1c commit a469fa1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/provider_git_client_package.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ class Package < Chef::Provider::GitClient
88

99
action :install do
1010
# FIXME: rhel 5
11-
include_recipe 'yum-epel' if node['platform_family'] == 'rhel' and node['platform_version'].to_i == 5
11+
include_recipe 'yum-epel' if node['platform_family'] == 'rhel' && node['platform_version'].to_i == 5
1212

1313
# Software installation
1414
package "#{new_resource.name} :create #{parsed_package_name}" do

0 commit comments

Comments
 (0)