From 9ccec5711d67f5f91021f291a19de6285c70169b Mon Sep 17 00:00:00 2001 From: d9mz <101074954+d9mz@users.noreply.github.com> Date: Fri, 10 May 2024 22:24:52 -0700 Subject: [PATCH] chore: return regardless of value type --- main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.cpp b/main.cpp index 5606c08..c6043ac 100644 --- a/main.cpp +++ b/main.cpp @@ -48,7 +48,7 @@ public: // but this is good enough as a poc & can be used for replication // across different clients connected to a server - if (name == "sendResultToCpp" && arguments.size() == 1 && arguments[0]->IsString()) { + if (name == "sendResultToCpp" && arguments.size() == 1) { CefRefPtr msg = CefProcessMessage::Create("resultMessage"); CefRefPtr args = msg->GetArgumentList();