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.
fs.renameSync
1 parent f178040 commit 4c1f660Copy full SHA for 4c1f660
1 file changed
src/node_file.cc
@@ -1572,7 +1572,7 @@ static void RenameSync(const FunctionCallbackInfo<Value>& args) {
1572
Environment* env = Environment::GetCurrent(args);
1573
Isolate* isolate = env->isolate();
1574
1575
- CHECK_GE(args.Length(), 2);
+ CHECK_EQ(args.Length(), 2);
1576
1577
BufferValue old_path(isolate, args[0]);
1578
CHECK_NOT_NULL(*old_path);
0 commit comments