This commit is contained in:
Patrick Lühne 2020-05-26 02:59:22 +02:00
parent 2741f97050
commit 878fe42672
Signed by: patrick
GPG Key ID: 05F3611E97A70ABF

View File

@ -40,11 +40,11 @@ $control_socket = UNIXSocket.new(control_socket_path)
$original_stdin = $stdin.dup $original_stdin = $stdin.dup
$original_stdout = $stdout.dup $original_stdout = $stdout.dup
$origianl_stderr = $stderr.dup $original_stderr = $stderr.dup
def log(level, message) def log(level, message)
if level == "error" or $options[:verbose] if level == "error" or $options[:verbose]
$origianl_stderr.puts "[github-fast-env] #{level}: #{message}" $original_stderr.puts "[github-fast-env] #{level}: #{message}"
end end
end end