Skip to content

Commit 06ed924

Browse files
committed
use value cast
1 parent c216e1b commit 06ed924

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rocky-8/4bd36a1ac2f.diff

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ index f608d678505e..882be746310d 100644
99
- auto arguments =
1010
- v8::to_array<v8::Local<v8::Value>>({toV8String(m_isolate, message)});
1111
+ auto arguments =
12-
+ v8::to_array<v8::Local<v8::String>>({toV8String(m_isolate, message)});
12+
+ v8::to_array<v8::Local<v8::Value>>({toV8String(m_isolate, message)->Value()});
1313
reportCall(type, arguments);
1414
}
1515

@@ -20,7 +20,7 @@ index f608d678505e..882be746310d 100644
2020
- auto arguments =
2121
- v8::to_array<v8::Local<v8::Value>>({toV8String(m_isolate, message)});
2222
+ auto arguments =
23-
+ v8::to_array<v8::Local<v8::String>>({toV8String(m_isolate, message)});
23+
+ v8::to_array<v8::Local<v8::Value>>({toV8String(m_isolate, message)->Value()});
2424
reportCall(ConsoleAPIType::kWarning, arguments);
2525
}
2626

0 commit comments

Comments
 (0)