@@ -1037,7 +1037,7 @@ static void Symlink(const FunctionCallbackInfo<Value>& args) {
1037
1037
Environment* env = Environment::GetCurrent (args);
1038
1038
Isolate* isolate = env->isolate ();
1039
1039
1040
- int argc = args.Length ();
1040
+ const int argc = args.Length ();
1041
1041
CHECK_GE (argc, 4 );
1042
1042
1043
1043
BufferValue target (isolate, args[0 ]);
@@ -1066,7 +1066,7 @@ static void Link(const FunctionCallbackInfo<Value>& args) {
1066
1066
Environment* env = Environment::GetCurrent (args);
1067
1067
Isolate* isolate = env->isolate ();
1068
1068
1069
- int argc = args.Length ();
1069
+ const int argc = args.Length ();
1070
1070
CHECK_GE (argc, 3 );
1071
1071
1072
1072
BufferValue src (isolate, args[0 ]);
@@ -1093,7 +1093,7 @@ static void ReadLink(const FunctionCallbackInfo<Value>& args) {
1093
1093
Environment* env = Environment::GetCurrent (args);
1094
1094
Isolate* isolate = env->isolate ();
1095
1095
1096
- int argc = args.Length ();
1096
+ const int argc = args.Length ();
1097
1097
CHECK_GE (argc, 3 );
1098
1098
1099
1099
BufferValue path (isolate, args[0 ]);
@@ -1136,7 +1136,7 @@ static void Rename(const FunctionCallbackInfo<Value>& args) {
1136
1136
Environment* env = Environment::GetCurrent (args);
1137
1137
Isolate* isolate = env->isolate ();
1138
1138
1139
- int argc = args.Length ();
1139
+ const int argc = args.Length ();
1140
1140
CHECK_GE (argc, 3 );
1141
1141
1142
1142
BufferValue old_path (isolate, args[0 ]);
0 commit comments