chore: return regardless of value type

This commit is contained in:
d9mz 2024-05-10 22:24:52 -07:00
parent a96dc337e6
commit 9ccec5711d
1 changed files with 1 additions and 1 deletions

View File

@ -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<CefProcessMessage> msg = CefProcessMessage::Create("resultMessage");
CefRefPtr<CefListValue> args = msg->GetArgumentList();