From e5ed5ab5558d802827c07f1a9adb122cbb7ce389 Mon Sep 17 00:00:00 2001 From: pthier Date: Tue, 14 Jun 2022 14:07:37 +0000 Subject: [PATCH] Fix lint-cpp errors --- src/node_os.cc | 2 +- src/node_process_methods.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/node_os.cc b/src/node_os.cc index 658481059b2db0..0bb6bf4dbcd49b 100644 --- a/src/node_os.cc +++ b/src/node_os.cc @@ -384,7 +384,7 @@ static void GetPriority(const FunctionCallbackInfo& args) { args.GetReturnValue().Set(priority); } -#endif // !__Fuchsia__ +#endif // !__Fuchsia__ void Initialize(Local target, Local unused, diff --git a/src/node_process_methods.cc b/src/node_process_methods.cc index b0ee53b603bddb..a0a278258d7ec0 100644 --- a/src/node_process_methods.cc +++ b/src/node_process_methods.cc @@ -577,7 +577,7 @@ static void Initialize(Local target, env->SetMethod(target, "_rawDebug", RawDebug); env->SetMethod(target, "memoryUsage", MemoryUsage); env->SetMethod(target, "rss", Rss); - + #ifndef __Fuchsia__ env->SetMethod(target, "cpuUsage", CPUUsage); env->SetMethod(target, "resourceUsage", ResourceUsage);