@@ -134,8 +134,7 @@ static void IsFileTrustedBySystemCodeIntegrityPolicy(
134134// IsInteractiveModeDisabled
135135// Queries operating system code integrity policy to determine if
136136// the policy is requesting NodeJS to disable interactive mode.
137- static void IsInteractiveModeDisabled (const FunctionCallbackInfo<Value>& args)
138- {
137+ static void IsInteractiveModeDisabled (const FunctionCallbackInfo<Value>& args) {
139138 CHECK_EQ (args.Length (), 0 );
140139
141140 Environment* env = Environment::GetCurrent (args);
@@ -177,20 +176,20 @@ static void IsInteractiveModeDisabled(const FunctionCallbackInfo<Value>& args)
177176 ULONG valueSize = sizeof (int );
178177 int isInteractiveModeDisabled = 0 ;
179178 HRESULT hr =
180- per_process::WldpQuerySecurityPolicy (&providerName,
181- &keyName,
182- &valueName,
183- &valueType,
184- &isInteractiveModeDisabled,
185- &valueSize);
179+ per_process::WldpQuerySecurityPolicy (&providerName,
180+ &keyName,
181+ &valueName,
182+ &valueType,
183+ &isInteractiveModeDisabled,
184+ &valueSize);
186185
187186 if (FAILED (hr)) {
188187 args.GetReturnValue ().SetFalse ();
189188 return ;
190189 }
191190
192191 args.GetReturnValue ().Set (Boolean::New (
193- env->isolate (), static_cast <bool >(isInteractiveModeDisabled)));
192+ env->isolate (), static_cast <bool >(isInteractiveModeDisabled)));
194193 }
195194}
196195
@@ -250,7 +249,7 @@ static void IsSystemEnforcingCodeIntegrity(
250249 }
251250
252251 args.GetReturnValue ().Set (Boolean::New (
253- env->isolate (), static_cast <bool >(isCodeIntegrityEnforced)));
252+ env->isolate (), static_cast <bool >(isCodeIntegrityEnforced)));
254253 }
255254}
256255
@@ -264,7 +263,7 @@ void Initialize(Local<Object> target,
264263 IsFileTrustedBySystemCodeIntegrityPolicy);
265264
266265 SetMethod (
267- context, target, " isInteractiveModeDisabled" , IsInteractiveModeDisabled);
266+ context, target, " isInteractiveModeDisabled" , IsInteractiveModeDisabled);
268267
269268 SetMethod (context,
270269 target,
0 commit comments