From 18bea625cdddb18a59497adf56429b5d1e1fd49d Mon Sep 17 00:00:00 2001 From: Celian Raimbault Date: Wed, 18 Dec 2024 14:30:46 +0100 Subject: [PATCH] [refactor-runner-adxt-783] Cleaned code --- components/command/osCommand.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/command/osCommand.go b/components/command/osCommand.go index bfad1350c..21e933abd 100644 --- a/components/command/osCommand.go +++ b/components/command/osCommand.go @@ -93,7 +93,7 @@ func copyRemoteFile( func NewLocalOSCommand() OSCommand { if runtime.GOOS == "windows" { return NewWindowsOSCommand() - } else { - return NewUnixOSCommand() } + + return NewUnixOSCommand() }