asio: fix rubocop 0.65.0 style.
This commit is contained in:
parent
17be8fa8f6
commit
72aca70110
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue