@@ -1056,7 +1056,7 @@ static void Symlink(const FunctionCallbackInfo<Value>& args) {
1056
1056
Environment* env = Environment::GetCurrent (args);
1057
1057
Isolate* isolate = env->isolate ();
1058
1058
1059
- int argc = args.Length ();
1059
+ const int argc = args.Length ();
1060
1060
CHECK_GE (argc, 4 );
1061
1061
1062
1062
BufferValue target (isolate, args[0 ]);
@@ -1085,7 +1085,7 @@ static void Link(const FunctionCallbackInfo<Value>& args) {
1085
1085
Environment* env = Environment::GetCurrent (args);
1086
1086
Isolate* isolate = env->isolate ();
1087
1087
1088
- int argc = args.Length ();
1088
+ const int argc = args.Length ();
1089
1089
CHECK_GE (argc, 3 );
1090
1090
1091
1091
BufferValue src (isolate, args[0 ]);
@@ -1112,7 +1112,7 @@ static void ReadLink(const FunctionCallbackInfo<Value>& args) {
1112
1112
Environment* env = Environment::GetCurrent (args);
1113
1113
Isolate* isolate = env->isolate ();
1114
1114
1115
- int argc = args.Length ();
1115
+ const int argc = args.Length ();
1116
1116
CHECK_GE (argc, 3 );
1117
1117
1118
1118
BufferValue path (isolate, args[0 ]);
@@ -1155,7 +1155,7 @@ static void Rename(const FunctionCallbackInfo<Value>& args) {
1155
1155
Environment* env = Environment::GetCurrent (args);
1156
1156
Isolate* isolate = env->isolate ();
1157
1157
1158
- int argc = args.Length ();
1158
+ const int argc = args.Length ();
1159
1159
CHECK_GE (argc, 3 );
1160
1160
1161
1161
BufferValue old_path (isolate, args[0 ]);
0 commit comments