asio: fix rubocop 0.65.0 style.

This commit is contained in:
Mike McQuaid 2019-02-19 13:28:07 +00:00
parent 17be8fa8f6
commit 72aca70110

View file

@ -40,6 +40,7 @@ class Asio < Formula
found = [pkgshare/"examples/cpp11/http/server/http_server", found = [pkgshare/"examples/cpp11/http/server/http_server",
pkgshare/"examples/cpp03/http/server/http_server"].select(&:exist?) pkgshare/"examples/cpp03/http/server/http_server"].select(&:exist?)
raise "no http_server example file found" if found.empty? raise "no http_server example file found" if found.empty?
pid = fork do pid = fork do
exec found.first, "127.0.0.1", "8080", "." exec found.first, "127.0.0.1", "8080", "."
end end