From c59870c32e3a751457d6ba054d076bfdeef38130 Mon Sep 17 00:00:00 2001 From: Alexander Olofsson <alexander.olofsson@liu.se> Date: Thu, 25 Apr 2019 10:12:30 +0200 Subject: [PATCH] Fix a rubocop complaint --- app/lib/actions/foreman_template_tasks/template_action.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/lib/actions/foreman_template_tasks/template_action.rb b/app/lib/actions/foreman_template_tasks/template_action.rb index 156df32..96c3e17 100644 --- a/app/lib/actions/foreman_template_tasks/template_action.rb +++ b/app/lib/actions/foreman_template_tasks/template_action.rb @@ -16,7 +16,7 @@ module Actions return unless output[:results] changes = output[:results] - .select { |r| (r[:imported] || r[:exported] ) && r[:changed] } + .select { |r| (r[:imported] || r[:exported]) && r[:changed] } exceptions = output[:results] .reject { |r| r[:exception].nil? } -- GitLab