Commit 68252e6f authored by Fabio Pelosin's avatar Fabio Pelosin

[Command::IPC] Minor fixes

parent 278b7345
...@@ -116,11 +116,10 @@ module Pod ...@@ -116,11 +116,10 @@ module Pod
end end
def salute def salute
UI.puts "version: #{Pod::VERSION}" UI.puts "version: '#{Pod::VERSION}'"
end end
def listen def listen
p Command::IPC::Podfile
signal_ready signal_ready
while repl_command = STDIN.gets while repl_command = STDIN.gets
execute_repl_command(repl_command) execute_repl_command(repl_command)
...@@ -129,6 +128,7 @@ module Pod ...@@ -129,6 +128,7 @@ module Pod
def signal_ready def signal_ready
UI.puts LISTENING_STRING UI.puts LISTENING_STRING
STDOUT.flush
end end
def execute_repl_command(repl_command) def execute_repl_command(repl_command)
...@@ -139,7 +139,6 @@ module Pod ...@@ -139,7 +139,6 @@ module Pod
subcommand_class = eval("Pod::Command::IPC::#{subcommand}") subcommand_class = eval("Pod::Command::IPC::#{subcommand}")
subcommand_class.new(CLAide::ARGV.new(arguments)).run subcommand_class.new(CLAide::ARGV.new(arguments)).run
signal_ready signal_ready
STDOUT.flush
end end
end end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment