From 9816e545c741d804bd3ddf974f2304ecddce7ab5 Mon Sep 17 00:00:00 2001 From: Nik08 Date: Tue, 10 Sep 2024 18:33:35 +0530 Subject: [PATCH] Lint fix Signed-off-by: Nik08 --- lib/inspec/utils/telemetry/run_context_probe.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/inspec/utils/telemetry/run_context_probe.rb b/lib/inspec/utils/telemetry/run_context_probe.rb index fb0a263a3..ebff1bb89 100644 --- a/lib/inspec/utils/telemetry/run_context_probe.rb +++ b/lib/inspec/utils/telemetry/run_context_probe.rb @@ -29,8 +29,8 @@ module Inspec # Handled in both ways to fix label differences for Ruby 3.4 and other versions of Ruby (stack_match(stack: stack, path: "thor/command", label: "Thor::Command#run") && stack_match(stack: stack, path: "thor/invocation", label: "Thor::Invocation#invoke_command")) || - (stack_match(stack: stack, path: "thor/command", label: "run") && - stack_match(stack: stack, path: "thor/invocation", label: "invoke_command")) + (stack_match(stack: stack, path: "thor/command", label: "run") && + stack_match(stack: stack, path: "thor/invocation", label: "invoke_command")) end def self.kitchen?(stack)