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

[Command::IPC] Minor fixes

parent 278b7345
......@@ -116,11 +116,10 @@ module Pod
end
def salute
UI.puts "version: #{Pod::VERSION}"
UI.puts "version: '#{Pod::VERSION}'"
end
def listen
p Command::IPC::Podfile
signal_ready
while repl_command = STDIN.gets
execute_repl_command(repl_command)
......@@ -129,6 +128,7 @@ module Pod
def signal_ready
UI.puts LISTENING_STRING
STDOUT.flush
end
def execute_repl_command(repl_command)
......@@ -139,7 +139,6 @@ module Pod
subcommand_class = eval("Pod::Command::IPC::#{subcommand}")
subcommand_class.new(CLAide::ARGV.new(arguments)).run
signal_ready
STDOUT.flush
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