We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5874a03 commit 87c864cCopy full SHA for 87c864c
src/node_util.cc
@@ -56,7 +56,6 @@ static void GetOwnNonIndexProperties(
56
}
57
58
static void GetPromiseDetails(const FunctionCallbackInfo<Value>& args) {
59
- Environment* env = Environment::GetCurrent(args);
60
// Return undefined if it's not a Promise.
61
if (!args[0]->IsPromise())
62
return;
@@ -75,7 +74,6 @@ static void GetPromiseDetails(const FunctionCallbackInfo<Value>& args) {
75
74
76
77
static void GetProxyDetails(const FunctionCallbackInfo<Value>& args) {
78
79
// Return undefined if it's not a proxy.
80
if (!args[0]->IsProxy())
81
0 commit comments