File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 1
1
#include " inspector_profiler.h"
2
- #include " uv.h"
3
2
#include " base_object-inl.h"
4
3
#include " debug_utils-inl.h"
5
4
#include " diagnosticfilename-inl.h"
9
8
#include " node_file.h"
10
9
#include " node_internals.h"
11
10
#include " util-inl.h"
11
+ #include " uv.h"
12
12
#include " v8-inspector.h"
13
13
14
14
#include < cinttypes>
@@ -469,10 +469,11 @@ static void EndStartedProfilers(Environment* env) {
469
469
static std::string ReplacePlaceholders (const std::string& pattern) {
470
470
std::string result = pattern;
471
471
472
- static const std::unordered_map<std::string, std::function<std::string ()>> kPlaceholderMap = {
473
- { " ${pid}" , []() { return std::to_string (uv_os_getpid ()); } },
474
- // TODO(haramj): Add more placeholders as needed.
475
- };
472
+ static const std::unordered_map<std::string, std::function<std::string ()>>
473
+ kPlaceholderMap = {
474
+ {" ${pid}" , []() { return std::to_string (uv_os_getpid ()); }},
475
+ // TODO(haramj): Add more placeholders as needed.
476
+ };
476
477
477
478
for (const auto & [placeholder, getter] : kPlaceholderMap ) {
478
479
size_t pos = 0 ;
You can’t perform that action at this time.
0 commit comments