@@ -1111,9 +1111,8 @@ bool FastExistsSync(v8::Local<v8::Object> recv,
11111111 memcpy (path.out (), string.data , string.length );
11121112 path.SetLengthAndZeroTerminate (string.length );
11131113
1114- if (UNLIKELY (!env->permission ()
1115- ->is_granted (permission::PermissionScope::kFileSystemRead ,
1116- path.ToStringView ()))) {
1114+ if (UNLIKELY (!env->permission ()->is_granted (
1115+ permission::PermissionScope::kFileSystemRead , path.ToStringView ()))) {
11171116 options.fallback = true ;
11181117 return false ;
11191118 }
@@ -3409,8 +3408,8 @@ static void CreatePerIsolateProperties(IsolateData* isolate_data,
34093408 SetMethodNoSideEffect (isolate, target, " accessSync" , AccessSync);
34103409 SetMethod (isolate, target, " close" , Close);
34113410 SetMethod (isolate, target, " closeSync" , CloseSync);
3412- SetFastMethodNoSideEffect (isolate, target, " existsSync " ,
3413- ExistsSync, &fast_exists_sync_);
3411+ SetFastMethodNoSideEffect (
3412+ isolate, target, " existsSync " , ExistsSync, &fast_exists_sync_);
34143413 SetMethod (isolate, target, " open" , Open);
34153414 SetMethod (isolate, target, " openSync" , OpenSync);
34163415 SetMethod (isolate, target, " openFileHandle" , OpenFileHandle);
0 commit comments