]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/nodejs/recipes/default.rb
Fix rubocop warnings
[chef.git] / cookbooks / nodejs / recipes / default.rb
index 2fa43d63172477f0be25133482331621ab921b05..f6f054fe08b8cc9f8289334f62f3d7d5c8203601 100644 (file)
@@ -22,6 +22,4 @@ package "npm"
 package "g++"
 package "make"
 
-if node[:lsb][:release].to_f >= 14.04
-  package "nodejs-legacy"
-end
+package "nodejs-legacy" if node[:lsb][:release].to_f >= 14.04