From 84196c197d7646187200ee7e66554777f329429a Mon Sep 17 00:00:00 2001 From: kojix2 <2xijok@gmail.com> Date: Mon, 12 Oct 2020 20:44:31 +0900 Subject: [PATCH] Revert "Show message when No input data provided" Uplot should expect cases where data takes a long time to reach the standard input. This mechanism is not appropriate. This reverts commit c40c59a21dd712f0003cd9fe295ff6a380dd82b5. --- lib/uplot/command.rb | 6 ------ 1 file changed, 6 deletions(-) diff --git a/lib/uplot/command.rb b/lib/uplot/command.rb index 7628c6f..4106aa9 100644 --- a/lib/uplot/command.rb +++ b/lib/uplot/command.rb @@ -35,14 +35,8 @@ module Uplot exit end - watchman = Thread.new do - sleep(1) - warn 'No input file or piped data provided. Waiting for standard input:' - end - # Sometimes the input file does not end with a newline code. while (input = Kernel.gets(nil)) - watchman.kill input.freeze @raw_inputs << input @data = Preprocessing.input(input, delimiter, headers, transpose)