@@ -1111,9 +1111,8 @@ bool FastExistsSync(v8::Local<v8::Object> recv,
1111
1111
memcpy (path.out (), string.data , string.length );
1112
1112
path.SetLengthAndZeroTerminate (string.length );
1113
1113
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 ()))) {
1117
1116
options.fallback = true ;
1118
1117
return false ;
1119
1118
}
@@ -3409,8 +3408,8 @@ static void CreatePerIsolateProperties(IsolateData* isolate_data,
3409
3408
SetMethodNoSideEffect (isolate, target, " accessSync" , AccessSync);
3410
3409
SetMethod (isolate, target, " close" , Close);
3411
3410
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_);
3414
3413
SetMethod (isolate, target, " open" , Open);
3415
3414
SetMethod (isolate, target, " openSync" , OpenSync);
3416
3415
SetMethod (isolate, target, " openFileHandle" , OpenFileHandle);
0 commit comments