mirror of https://github.com/nodejs/node.git
Remove unreachable lines
parent
d3de943eb1
commit
711774c1f0
|
@ -230,9 +230,6 @@ static Handle<Value> Rename(const Arguments& args) {
|
|||
String::Utf8Value new_path(args[1]->ToString());
|
||||
|
||||
return scope.Close(EIOPromise::Rename(*path, *new_path));
|
||||
Promise *promise = EIOPromise::Create();
|
||||
|
||||
return scope.Close(promise->Handle());
|
||||
}
|
||||
|
||||
static Handle<Value> Unlink(const Arguments& args) {
|
||||
|
|
Loading…
Reference in New Issue