We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 960c79c commit 20d758fCopy full SHA for 20d758f
src/node_modules.cc
@@ -22,6 +22,7 @@ namespace modules {
22
23
using v8::Array;
24
using v8::Context;
25
+using v8::External;
26
using v8::FunctionCallbackInfo;
27
using v8::HandleScope;
28
using v8::Integer;
@@ -565,7 +566,7 @@ void SaveCompileCacheEntry(const FunctionCallbackInfo<Value>& args) {
565
566
CHECK(args[0]->IsExternal());
567
CHECK(args[1]->IsString()); // TODO(joyeecheung): accept buffer.
568
auto* cache_entry =
- static_cast<CompileCacheEntry*>(args[0].As<v8::External>()->Value());
569
+ static_cast<CompileCacheEntry*>(args[0].As<External>()->Value());
570
Utf8Value utf8(isolate, args[1].As<String>());
571
env->compile_cache_handler()->MaybeSave(cache_entry, utf8.ToStringView());
572
}
0 commit comments