Skip to content

Commit 4cbe44e

Browse files
Ranieri93targos
authored andcommitted
doc: update pm documentation to include resource
PR-URL: #50601 Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
1 parent 7c7be51 commit 4cbe44e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/api/permissions.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,8 @@ Error: Access to this API has been restricted
498498
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:76:24)
499499
at node:internal/main/run_main_module:23:47 {
500500
code: 'ERR_ACCESS_DENIED',
501-
permission: 'FileSystemRead'
501+
permission: 'FileSystemRead',
502+
resource: '/home/user/index.js'
502503
}
503504
```
504505

0 commit comments

Comments
 (0)