From e057744fcd7fc7eca66c49b95caa57ee4b25a0de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B1=E5=8D=9A=E4=BA=9E?= Date: Thu, 9 May 2024 00:07:27 +0800 Subject: [PATCH] test --- lib/tasks/exec_command.rake | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/tasks/exec_command.rake b/lib/tasks/exec_command.rake index 24e0f79..7b298ce 100644 --- a/lib/tasks/exec_command.rake +++ b/lib/tasks/exec_command.rake @@ -269,11 +269,11 @@ namespace :exec_commands do if first_output if outputs.count != 0 outputs[-1] += first_output - @remove_last_line = false - outputs[-1] = outputs[-1].sub(/(.+)\r(.+)/) do |s| - @remove_last_line = true - first_output = $2 - end + # @remove_last_line = false + # outputs[-1] = outputs[-1].sub(/(.+)\r(.+)/) do |s| + # @remove_last_line = true + # first_output = $2 + # end else outputs << first_output end