File tree 3 files changed +4
-4
lines changed
3 files changed +4
-4
lines changed File renamed without changes.
Original file line number Diff line number Diff line change 16
16
'node_target_type%' : 'executable' ,
17
17
'node_core_target_name%' : 'node' ,
18
18
'library_files' : [
19
- 'src /node.js' ,
19
+ 'lib/internal /node.js' ,
20
20
'lib/_debug_agent.js' ,
21
21
'lib/_debugger.js' ,
22
22
'lib/assert.js' ,
Original file line number Diff line number Diff line change @@ -14,15 +14,15 @@ using v8::String;
14
14
15
15
Local<String> MainSource (Environment* env) {
16
16
return String::NewFromUtf8 (
17
- env->isolate (), reinterpret_cast <const char *>(node_native ),
18
- NewStringType::kNormal , sizeof (node_native )).ToLocalChecked ();
17
+ env->isolate (), reinterpret_cast <const char *>(internal_node_native ),
18
+ NewStringType::kNormal , sizeof (internal_node_native )).ToLocalChecked ();
19
19
}
20
20
21
21
void DefineJavaScript (Environment* env, Local<Object> target) {
22
22
HandleScope scope (env->isolate ());
23
23
24
24
for (auto native : natives) {
25
- if (native.source != node_native ) {
25
+ if (native.source != internal_node_native ) {
26
26
Local<String> name = String::NewFromUtf8 (env->isolate (), native.name );
27
27
Local<String> source =
28
28
String::NewFromUtf8 (
You can’t perform that action at this time.
0 commit comments