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.
1 parent b51dcf6 commit a55457cCopy full SHA for a55457c
src/node_report.cc
@@ -231,7 +231,7 @@ static void WriteNodeReport(Isolate* isolate,
231
// Report out the command line.
232
if (!node::per_process::cli_options->cmdline.empty()) {
233
writer.json_arraystart("commandLine");
234
- for (std::string arg : node::per_process::cli_options->cmdline) {
+ for (const std::string& arg : node::per_process::cli_options->cmdline) {
235
writer.json_element(arg);
236
}
237
writer.json_arrayend();
0 commit comments