We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fc02918 commit 681b0a3Copy full SHA for 681b0a3
src/module_wrap.cc
@@ -128,7 +128,7 @@ v8::Maybe<bool> ModuleWrap::CheckUnsettledTopLevelAwait() {
128
}
129
130
if (env()->options()->warnings) {
131
- for (auto pair : stalled) {
+ for (auto& pair : stalled) {
132
Local<v8::Message> message = std::get<1>(pair);
133
134
std::string reason = "Warning: Detected unsettled top-level await at ";
0 commit comments